yppasswd (1)
change your password in the NIS database
SYNOPSIS
yppasswd [-f] [-l] [-p] [user]
ypchfn [user]
ypchsh [user]
DESCRIPTION
The standard
passwd (1),
chfn (1)
and
chsh (1)
cannot be used under Linux to change the users NIS password, shell and GECOS
information, because they only modify the password file on the local host.
For changing the NIS information, they are replaced by their NIS
counterparts,
yppasswd ,
ypchfn
and
ypchsh .
These commands are the same program, linked to different names.
Using the command line switches, you can choose whether to update your
password
-p ,
your login shell
-l ,
or your GECOS field
-f ,
or a combination of them.
yppasswd
implies the
-p
option, if no other option is given. If you use the
-f
or
-l
option, you also need to add the
-p
flag.
ypchfn
implies the
-f
option, and
ypchsh
-l .
When invoked without the
user
argument, the account information for the invoking user will be updated,
otherwise that of
user
will be updated. This option is only available to the super-user. If the
yppasswdd daemon on the server supports it, you can give the root password
of the server instead of the users [old] password.
All tools will first prompt the user for the current NIS password needed
for authentication with the
yppasswdd (8)
daemon. Subsequently, the
program prompts for the updated information:
|
|