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

Re: changing a users group



On Fri, 8 May 1998, Hamish Moffatt wrote:

> On Fri, May 08, 1998 at 08:03:51AM +0100, Joop Stakenborg wrote:
> > Matthew D. Myers wrote:
> > > How do you change a users group assignments without manually editing the
> > > passwd and group  and also shadowed files.
> > use vipw for editting your password file and vigr for the group file.
> 
> Which is just the same as manually editing them. Is there a good
> reason to use vipw, instead of just "vi /etc/passwd"?

AFAIK vipw is supposed to lock the password file or at least perform the
edits on a scratch copy of the original file and merge in the changes with
the real /etc/passwd (which may have changed while you were editing) when
you're ready.

Cheers,


Joost



--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: