[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Versions of chfn



On Wed, 28 Feb 2001, Lenz Grimmer wrote:


> On Wed, 28 Feb 2001, Christopher Yeoh wrote:
>
> > I'm working my way through documenting the commands required by the
> > LSB.
>
> Excellent, thanks for working on that.
>
> > There appear to be at least two versions of chfn in use which
> > take different (conflicting) parameters.
> >
> > Debian:
> >
> > chfn [-f full_name] [-r room_no]
> >      [-w work_ph] [-h home_ph] [-o other] [user]
> >
> > Red Hat:
> >
> > chfn [ -f full-name ]     [ -o office ]    [ -p office-phone ]
> >      [ -h home-phone ] [ -u ] [ -v ] [ username ]
> >
> > I'm inclined to use the former. It is included in the shadow package
> > from which the useradd, usermod, groupadd, etc tools come from. It
> > also appears to be more configurable. Does anyone have any major
> > objections?
>
> FWIW, SuSE is using the first one, too:
>
>        chfn [-f full_name] [-r room_no]
>             [-w work_ph] [-h home_ph] [-o other] [user]
>
> So, no objections from here :)
>
chfn [-f full_name] [-r room_no]
	[-w work_ph] [-h home_ph] [-o other] user

That is also what is used by slackware and debian and so on.
(and is also the standard sintax on many other Unixes)

In fact this is the chfn of the shadow package, and is what
should be used.

I do not know where the red hat chfn comes out from,
probably from linuxutils package.

bye

Luigi Genoni




Reply to: