docs/104086: adduser man page does not match adduser usage

Tom Rhodes trhodes at FreeBSD.org
Sun Oct 8 00:35:47 UTC 2006


On Sun, 8 Oct 2006 00:20:12 GMT
"Jin Guojun [VFFS]" <jin at george.lbl.gov> wrote:

> The following reply was made to PR docs/104086; it has been noted by GNATS.
> 
> From: "Jin Guojun [VFFS]" <jin at george.lbl.gov>
> To: Ceri Davies <ceri at submonkey.net>
> Cc: freebsd-gnats-submit at FreeBSD.org
> Subject: Re: docs/104086: adduser man page does not match adduser usage
> Date: Sat, 07 Oct 2006 17:18:22 -0700
> 
>  Ceri Davies wrote:
>  
>  >On Sat, Oct 07, 2006 at 06:06:35AM +0000, Jin Guojun wrote:
>  >
>  >  
>  >
>  >>>Environment:
>  >>>      
>  >>>
>  >>6.1-RELEASE FreeBSD 6.1-RELEASE
>  >>    
>  >>
>  >>>Description:
>  >>>      
>  >>>
>  >>% /sbin/adduser -H
>  >>Usage: adduser [-dDv] 
>  >>          [ -c change_time ]
>  >>          [ -e expire_time ]
>  >>          [ -g primary_group ]
>  >>          [ -G gecos ]
>  >>          [ -h home_directory_basedir ]
>  >>          [ -H home_directory ]
>  >>          [ -m home_directory_mode ]
>  >>          [ -p password ]
>  >>          [ -P encrypted_password ]
>  >>          [ -s shell ]
>  >>          [ -S skeleton_directory ]
>  >>          [ -u uid ]
>  >>    
>  >>
>  >
>  >There is no /sbin/adduser on FreeBSD; can you post the output of
>  >
>  >   ident /sbin/adduser
>  >
>  >please?
>  >
>  >Ceri
>  >  
>  >
>   ident /sbin/adduser
>  /sbin/adduser:
>       $Id: adduser.pl,v 2.1 1995/02/03 17:07:39 polk Exp $
>       $0: user $
>       $0: addgroup $
>       $0: mkdir $
>       $0: can't mkdir $
>       $0: can't chown $
>       $0: can't chdir to $
>       $0: Warning: can't copy $
>       $0: can't chown $
>       $nfile: $
>       $0: can't chmod $
>       $nfile: $
>       $0: can't open $
>       $0: can't open $
>  
>  
>  I do not know how they got in there.
>  I will pay attention to it when I will install 6.2-R from scratch.

Seems to be the old version of adduser.  Try using the
/usr/sbin/adduser command and see what that does for you.

Thanks!

-- 
Tom Rhodes



More information about the freebsd-doc mailing list