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

Re: mass user property changes



On Thursday, 25.08.2005 at 21:52 -0600, Dave Thayer wrote:

> On Thu, Aug 25, 2005 at 10:33:21PM +0200, David Jardine wrote:
> > Wouldn't
> > 
> > 	#vi /etc/passwd
> > 		/false
> > 		cepasswd <Esc> n.n.n.n.n.... (looking out for system accounts) 
> > 
> 
> That probably should be:
> 
>      #vipw /etc/passwd (...)
> 
> According to man vipw:
> 	  [vipw]  will  set the appropriate locks to prevent file corruption

Ah, didn't know that existed: nice.

In my defence, my original suggestion used 'usermod' rather than
directly editing /etc/passwd, which must at least in part be The Right
Way :-)

Dave.
-- 
Please don't CC me on list messages!
...
Dave Ewart - davee@sungate.co.uk - jabber: davee@jabber.org
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92

Attachment: signature.asc
Description: Digital signature


Reply to: