1yppasswd(1)                 General Commands Manual                yppasswd(1)
2
3
4

NAME

6       yppasswd, ypchfn, ypchsh - change your password in the NIS database
7

SYNOPSIS

9       yppasswd [-f] [-l] [-p] [user]
10       ypchfn [user]
11       ypchsh [user]
12

DESCRIPTION

14       In  the  old  days,  the  standard passwd(1), chfn(1) and chsh(1) tools
15       could not be used under Linux to change the users NIS  password,  shell
16       and  GECOS  information.  For  changing  the NIS information, they were
17       replaced by their NIS counterparts, yppasswd, ypchfn and ypchsh.
18
19       Today, this versions are deprecated and should not be used any longer.
20
21       Using the command line switches, you can choose whether to update  your
22       password -p, your login shell -l, or your GECOS field -f, or a combina‐
23       tion of them.  yppasswd implies the -p option, if no  other  option  is
24       given.  If  you  use  the  -f or -l option, you also need to add the -p
25       flag.  ypchfn implies the -f option, and ypchsh -l.
26
27       When invoked without the user argument, the account information for the
28       invoking  user will be updated, otherwise that of user will be updated.
29       This option is only available to the super-user. If the yppasswdd  dae‐
30       mon  on  the  server supports it, you can give the root password of the
31       server instead of the users [old] password.
32
33       All tools will first prompt the  user  for  the  current  NIS  password
34       needed  for  authentication with the yppasswdd(8) daemon. Subsequently,
35       the program prompts for the updated information:
36
37       yppasswd or -p
38              Change the user's NIS password.    The user is prompted for  the
39              new password.  While typing the password, echoing is turned off,
40              so the password does not appear on the screen. An empty password
41              is  rejected,  as are passwords shorter than six characters. The
42              user will then be requested to retype the password to make  sure
43              it wasn't    misspelled the first time.
44
45       ypchsh or -l
46              Change  the  user's  login shell. The user is prompted for a new
47              shell, offering the old one as default:
48
49                Login shell [/bin/sh]: _
50
51              To accept the default, simply press return. To clear  the  shell
52              field in your passwd(5) file entry (so that the system's default
53              shell is selected), enter the string none.
54
55       ypchfn or -f
56              Change the user's full name and related information.  Tradition‐
57              ally,  some applications expect the GECOS field (field 4) of the
58              passwd(5) file to contain the user's real name  (as  opposed  to
59              the login name) plus some additional information like the office
60              phone number. This information is  displayed  by  finger(1)  and
61              probably some other tools, too.
62
63              When  setting  the  full  name,  ypchfn  displays  the following
64              prompts, with the defaults in brackets:
65
66                Name [Joe Doe]:
67                Location [2nd floor, bldg 34]:
68                Office Phone [12345]:
69                Home Phone []:
70
71              To accept a default, simply press  return.  To  clear  a  field,
72              enter the string none.
73

SEE ALSO

75       chfn(1),  chsh(1),  finger(1),  passwd(5), passwd(1), ypcat(1), yppass‐
76       wdd(8), ypserv(8), ypwhich(1)
77

AUTHOR

79       yppasswd is part of the yp-tools package, which was written by Thorsten
80       Kukuk <kukuk@suse.de>.
81
82
83
84YP Tools 2.9                       June 2004                       yppasswd(1)
Impressum