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

Re: mass user property changes



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

dt

-- 
Dave Thayer           | Whenever you read a good book, it's like the 
Denver, Colorado USA  | author is right there, in the room talking to 
dave@thayer-boyle.com | you, which is why I don't like to read 
                      | good books. - Jack Handey "Deep Thoughts"



Reply to: