Subject: misc/14574: chpass.1 doesn't mention -l and -y
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hiramatu@boreas.dti.ne.jp>
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
>Closed-Date:
>Last-Modified:
>Originator:     Hiramatsu Yoshifumi
>Release:        -current 1.5Y
>Organization:
	
>Environment:
	
System: NetBSD river.my.domain 1.5X NetBSD 1.5X (River) #0: Fri Aug 10 08:55:32 JST 2001 hiramatsu@river.my.domain:/usr/src/sys/arch/i386/compile/River i386
Architecture: i386
Machine: i386
>Description:
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.

>How-To-Repeat:

>Fix:
These options work same as passwd's -l and -y. I think copy from
passwd.1 is ok.

From "man passwd"


SYNOPSIS
     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.
>Release-Note:
>Audit-Trail:
>Unformatted: