You are not logged in.
Pages: 1
Hello,
I'm a beginners on linux and this is my first post.
I installed #!10a2 and did an upgrade. While processing it has been asked to me if I wanted to replace the existing sudoers file by the packet owner one. I said YES ... It was a big mistake, i think.
Because now, my default user name is no more in the sudoers file and i can't access root status.
Any idea on how to fix this ?
I can't access /etc/sudoers with user permission.
Is there a default root password ?
Your help is welcome, many thanks.
Last edited by Sirap (2011-01-07 11:04:15)
Offline
i had an error with the root user too
su root doesn't seam to work because of that
a workaround would be to use your livecd to edit your /etc/sudoers file
Offline
Many thanks ali.
A bit hardcore to access local HD root partition, but it's Ok now.
I wouldn't repoduce this error.
Issue is solved. Thanks again
Offline
yea for other people who may experience a similar problem once on the live cd just
sudo mount /dev/sda1 ~/tmp in case your root is not in dev sda1 replace that with the correct partition
then just edit ~/tmp/etc/sudoers with any available editor
for instance
sudo gedit ~/tmp/etc/sudoersand add
yourusername ALL=(ALL:ALL) ALLat the end of the file and you're gonna be okay
p.s. i suggest you rename your thread to
[solved] /etc/sudoers issueor something
and as a side note you'd better set a root password so you can "su root" in case of an emergency
sudo passwd rootLast edited by ali (2011-07-20 20:20:55)
Offline
welcome sirap,
nice it solved so quickly. can you edit your first post and add "[SOLVED]" to the title?
anyway have fun with CrunchBang 
luc
Offline
nice it solved so quickly
Forum is very reactive. Thanks again
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.