Patrick O'Callaghan wrote: > On Sun, 2008-10-26 at 14:16 -0700, Dan Thurman wrote: >> Timothy Murphy wrote: >>> Dan Thurman wrote: >>> >>> >>>> I was manually changing the /etc/passwd and /etc/group >>>> file since my users were incorrectly assigned UID/GIDs, >>>> I manually corrected the UID/GID in /home for each user, >>>> rebooted and noticed that I would get a hang just after >>>> udev. >>>> >>> Aren't we meant to use vipw and vigr to edit these files? >>> On editing from vigr one is asked to run "vigr -s" >>> to edit the shadow file. >>> >>> >> Interesting! I had NO IDEA if this is the case, being a user of >> older Unix systems. Thanks for the tip, I'll know better now! > > IIRC vipw dates back to (at least) 4.0bsd, over 25 years ago. > > poc > Also, if you have an editor you would rather use for editing, instead of VI, you can set EDITOR to the editor of your choice. Both vipw and vigr honor it. Mikkel -- Do not meddle in the affairs of dragons, for thou art crunchy and taste good with Ketchup!
Description: OpenPGP digital signature