Re: I messed up some config files, now all my users have lost sudo priv :(
- From: Rashkae <ubuntu@xxxxxxxxxxxxxxx>
- Date: Mon, 02 Jul 2007 18:20:19 -0400
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.
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- References:
- I messed up some config files, now all my users have lost sudo priv :(
- From: Gabriel Dragffy
- Re: I messed up some config files, now all my users have lost sudo priv :(
- From: Cedric
- I messed up some config files, now all my users have lost sudo priv :(
- Prev by Date: Re: rsync clone - ubuntu failure
- Next by Date: Re: I messed up some config files, now all my users have lost sudo priv :(
- Previous by thread: Re: I messed up some config files, now all my users have lost sudo priv :(
- Next by thread: Re: I messed up some config files, now all my users have lost sudo priv :(
- Index(es):
Relevant Pages
|
|