Nine traits of the veteran Unix admin | Unix - InfoWorld

Jamon Camisso jamon.camisso-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Tue Feb 15 03:32:23 UTC 2011


On 2/14/2011 8:05 PM, Walter Dnes wrote:
> On Mon, Feb 14, 2011 at 05:31:05PM -0500, Lennart Sorensen wrote
>
>> And how do you deal with 'you need to run fsck manually, please
>> enter root password to continue'?
>>
>> sudo only is a nice theory, but no more than that.
>
>    I'd boot from a boot CD or USB stick, and run fsck from there.  Having
> said that, I'm not doctrinaire about sudo.  I've set up certain commands
> that I need on accasion to run via sudo, without a password.  Here is my
> /etc/sudoers.d/001 on my machine (i3).  Note that I'm the only person on
> my machine.  And yes, I do have a password for root.

Easier to boot using init=/bin/bash as an argument (on the kernel line) 
in Grub. fsck can then be run since / will be mounted ro.

Jamon
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list