I messed up some config files, now all my users have lost sudo priv :(
Rashkae
ubuntu at tigershaunt.com
Mon Jul 2 22:20:19 UTC 2007
Cedric wrote:
>
> The first thing you have to do is to become root. This can be done by booting
> from a linux CD (knoppix for instance) or you can append init=/bin/sh to the
> line used to start the kernel. This bypasses init, and gives you a root
> login. (I'm tired, and typing from memory. If there's an error in my
> statement, please correct me.)
>
Yes, that will work, but then you would have to remount the filesystem
read-write as well (if you bypass init, the kernel leaves the filesystem
in the boot-up default read-only mode.
I think all considered, bringing a Knoppix boot CD is really the best
way to proceed.
More information about the ubuntu-users
mailing list