[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ProgSoc] NIS (formerly yellow pages) q.




man passwd

NAME
     passwd - change login password and password attributes

SYNOPSIS
     passwd [ -r files | -r ldap  | -r nis  |  -r  nisplus  ]   [
     name ]

-r    Specifies the repository  to  which  an  operation  is
           applied.  The  supported repositories are files, ldap,
           nis, or nisplus.

so...

$passwd -r nis

will change a users passwd on the nis server.

also i don't think NIS was ever officially 'yellow pages'. In the US the
phone company kicked up a stink when Sun tried to use 'yellow pages' so
they changed the official name to NIS but didn't bother changing any of
the command names hence they're still all prefixed with 'yp'.

mike

On Mon, 26 Aug 2002, vik wrote:

>hey'all
>
>I'm running a server which dishes out passwds etc over NIS (formerly 
>yellow pages). It seems to be working by and large, but I have just 
>encountered a problem:
>A user password changed a password on the server.
>To ssh to the server, the new password works.
>But to log into a machine which gets its logins from NIS (formerly 
>yellow pages), only the old password works.
>ypcat on a client yields a different encrypted password to the encrypted 
>password on the server. Indeed, the maps in /var/yp/{domainname} on the 
>server reflect the old password.
>
>I have tried restarting nis (formerly yellow pages) on both the server 
>and the client, to no avail. Does one have to re-make the nis (formerly 
>yellow pages) maps (cd /var/yp/ ; make) every time one changes a 
>password? or have I got something misconfigured?
>
>chow
>
>vik
>
>
>-
>You are subscribed to the progsoc mailing list. To unsubscribe, send a
>message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
>If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.
>



-
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.