Amonlisa
April 25th, 2007, 06:53 AM
Hi there,
trying to mount an external HD, I used a tutorial I found on internet:http://www.free-culture.fr/2007/01/10/activer-le-compte-root-sous-ubuntu-et-sy-connecter-en-mode-graphique/
Followings are the various steps I followed till my problem
I created a file to mount my EHD in with:
sudo mkdir /media/HDD
Then in order to create a file in the root, I had to activate it, so:
sudo passwd root
then, I entered the password and wrote this command:
sudo chmod 755 /etc/sudoers
and then, in order to edit the document:
gedit sudoers
Where nothing was written on, and I was supposed to remove this line: %admin ALL=(ALL) ALL
So I directly passed to the next instruction:
sudo chmod 440 /etc/sudoers
Now, I am stuck, I was supposed to be able to use the root graphic interface ALT+CTRL+F1, then startx --:1, but it doesn't work.
More important, Synaptic is not working and I cannot enter a sudo command without having this message appearing on the terminal: sudo: /etc/sudoers is mode 0755, should be 0440
or sudo: /etc/sudoers is mode 0440, should be 0755
when I use sudo chmod 755 /etc/sudoers to come back to what was the initial mode.
If you have any clue about how I could come back to my initail settings, I would be more than glad?
Thank u
Amonlisa
trying to mount an external HD, I used a tutorial I found on internet:http://www.free-culture.fr/2007/01/10/activer-le-compte-root-sous-ubuntu-et-sy-connecter-en-mode-graphique/
Followings are the various steps I followed till my problem
I created a file to mount my EHD in with:
sudo mkdir /media/HDD
Then in order to create a file in the root, I had to activate it, so:
sudo passwd root
then, I entered the password and wrote this command:
sudo chmod 755 /etc/sudoers
and then, in order to edit the document:
gedit sudoers
Where nothing was written on, and I was supposed to remove this line: %admin ALL=(ALL) ALL
So I directly passed to the next instruction:
sudo chmod 440 /etc/sudoers
Now, I am stuck, I was supposed to be able to use the root graphic interface ALT+CTRL+F1, then startx --:1, but it doesn't work.
More important, Synaptic is not working and I cannot enter a sudo command without having this message appearing on the terminal: sudo: /etc/sudoers is mode 0755, should be 0440
or sudo: /etc/sudoers is mode 0440, should be 0755
when I use sudo chmod 755 /etc/sudoers to come back to what was the initial mode.
If you have any clue about how I could come back to my initail settings, I would be more than glad?
Thank u
Amonlisa