Subject: misc/14574: chpass.1 doesn't mention -l and -y
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/13/2001 23:40:38
>Number:         14574
>Category:       misc
>Synopsis:       chpass.1 doesn't mention -l and -y
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 13 06:41:00 PST 2001
>Originator:     Hiramatsu Yoshifumi
>Release:        -current 1.5Y
System: NetBSD 1.5X NetBSD 1.5X (River) #0: Fri Aug 10 08:55:32 JST 2001 i386
Architecture: i386
Machine: 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.