F9: Manually editing passwd/group files causes rebooting to freeze up after udev....
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Sun Oct 26 23:39:48 UTC 2008
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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081026/06b75b1b/attachment-0001.sig>
More information about the fedora-list
mailing list