On Fri, 8 May 1998, Richard E. Hawkins Esq. wrote:

> >Which is just the same as manually editing them. Is there a good
> >reason to use vipw, instead of just "vi /etc/passwd"?
> 
> only if something goes wrong :)  I forget exactly what it is, but vipw does 
> some checking before saving the file, preventing some types of dumb mistakes.
> 
> Also, if you have shadow passwords, directly editing /etc/passwd can give 
> strange results.  iirc, i actually had different passwords in single user 
> mode 
> and multiuser after that . . . . it took days and some help to figure out 
> what 
> was going on.

Would pwck and grpck have helped.  I always use these after editing
any of the user/group files.

-- 
Jean Pierre



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to