Subject: misc/14574: chpass.1 doesn't mention -l and -y
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 11/13/2001 23:40:38
>Synopsis: chpass.1 doesn't mention -l and -y
>Arrival-Date: Tue Nov 13 06:41:00 PST 2001
>Originator: Hiramatsu Yoshifumi
>Release: -current 1.5Y
System: NetBSD river.my.domain 1.5X NetBSD 1.5X (River) #0: Fri Aug 10 08:55:32 JST 2001 firstname.lastname@example.org:/usr/src/sys/arch/i386/compile/River i386
According to source code of /usr/bin/chpass, -l and -y command line
options are implemented. But man page of chpass doesn't explain these.
These options work same as passwd's -l and -y. I think copy from
passwd.1 is ok.
From "man passwd"
passwd [-l] [user]
passwd [-y] [user]
-l This option causes the password to be updated only in the local
password file. When changing only the local password, pwd_mkdb(8)
is used to update the password databases.
-y This forces the YP password database entry to be changed, even if
the user has an entry in the local database. The rpc.yppasswdd(8)
daemon should be running on the YP master server. yppasswd is the
equivalent of passwd with the -y flag.