1yppasswd(1) User Commands yppasswd(1)
2
3
4
6 yppasswd - change your network password in the NIS database
7
9 yppasswd [username]
10
11
13 The yppasswd utility changes the network password associated with the
14 user username in the Network Information Service (NIS) database. If the
15 user has done a keylogin(1), and a publickey/secretkey pair exists for
16 the user in the NIS publickey.byname map, yppasswd also re-encrypts the
17 secretkey with the new password. The NIS password may be different from
18 the local one on your own machine.
19
20
21 yppasswd prompts for the old NIS password, and then for the new one.
22 You must type in the old password correctly for the change to take
23 effect. The new password must be typed twice, to forestall mistakes.
24
25
26 New passwords must be at least four characters long, if they use a suf‐
27 ficiently rich alphabet, and at least six characters long if monocase.
28 These rules are relaxed if you are insistent enough. Only the owner of
29 the name or the super-user may change a password; superuser on the root
30 master will not be prompted for the old password, and does not need to
31 follow password construction requirements.
32
33
34 The NIS password daemon, rpc.yppasswdd must be running on your NIS
35 server in order for the new password to take effect.
36
38 See attributes(5) for descriptions of the following attributes:
39
40
41
42
43 ┌─────────────────────────────┬─────────────────────────────┐
44 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
45 ├─────────────────────────────┼─────────────────────────────┤
46 │Availability │SUNWnisu │
47 └─────────────────────────────┴─────────────────────────────┘
48
50 keylogin(1), login(1), NIS+[22m(1), nispasswd(1), passwd(1), getpwnam(3C),
51 getspnam(3C), secure_rpc(3NSL), nsswitch.conf(4), attributes(5)
52
54 Even after the user has successfully changed his or her password using
55 this command, the subsequent login(1) using the new password will be
56 successful only if the user's password and shadow information is
57 obtained from NIS. See getpwnam(3C), getspnam(3C), and nss‐
58 witch.conf(4).
59
61 The use of yppasswd is discouraged, as it is now only a wrapper around
62 the passwd(1) command, which should be used instead. Using passwd(1)
63 with the -r nis option (see NIS+[22m(1)) will achieve the same results, and
64 will be consistent across all the different name services available.
65
67 The update protocol passes all the information to the server in one RPC
68 call, without ever looking at it. Thus, if you type your old password
69 incorrectly, you will not be notified until after you have entered your
70 new password.
71
72
73
74SunOS 5.11 28 Nov 2001 yppasswd(1)