Re: F9: Manually editing passwd/group files causes rebooting to freeze up after udev....

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

 



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!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux