On Mon, Dec 19, 2011 at 01:53:08PM +0100, Stefan Pettersson wrote:
> Hi,
> 
> just a minor thing. The userdel(8) usage and manual says the -p option
> only needs the preserve-value when -D is given. However, a "true"
> value seems to be required regardless:
> 
> # userdel -p josefine
> usage: userdel -D [-p preserve-value]
>        userdel [-prv] user
> # grep josefine /etc/master.passwd
> josefine:$2a$06$DW[...]:1001:10::0:0::/home/josefine:/bin/ksh
> # userdel -p true josefine
> # grep josefine /etc/master.passwd
> josefine:*************:1001:10::0:0::/home/josefine:/sbin/nologin
> 
> Not sure whether it's a documentation error or if the code in user.c
> is at fault. The above is from version 4.9 and I haven't found any
> changes in CVS since.
> 
> Anyway, merry Christmas folks!
> 
> --
> Stefan
> 

doc fix committed. thanks!
jmc

Reply via email to