View Full Version : [ubuntu] root access problem
dhanabalan_svks
November 9th, 2009, 12:39 PM
hi i am not able to access root via terminal.if i use sudo command i get below error..
sudo: /etc/sudoers is mode 0777, should be 0440
Synaptic package not able to access.But i am not getting any error.
Please help me
Regards,
dhanabalan.c@npediatech.com
nothingspecial
November 9th, 2009, 12:44 PM
sudo chmod 0440 /etc/sudoers
You didn`t make everything 0777 did you? That could get messy.
nothingspecial
November 9th, 2009, 12:47 PM
Thinking about it a bit, if you can`t sudo that`s not going to work.
Boot into recovery mode and issue that command without sudo.
dhanabalan_svks
November 9th, 2009, 12:56 PM
I am using below command :
sudo chmod 0440 /etc/sudoers .But i get below error
sudo chmod 0440 /etc/sudoers.
I am not able to login as a root.I use below command
sudo -su
Help ....
nothingspecial
November 9th, 2009, 01:01 PM
Reboot and when the grub dialogue appears hit escape.
From the menu, choose recovery mode then boot into a root maintanence shell.
chmod 0440 /etc/sudoers
Then reboot.
Like I asked, you`ve not made your whole system 0777 have you?
dhanabalan_svks
November 9th, 2009, 01:11 PM
No
But i have folder named as test
I set a permission like below
sudo chmod 0777 test/*/*/*/*/*
Unitux
November 9th, 2009, 04:05 PM
Not from your home directory as it seems :(
nothingspecial
November 9th, 2009, 07:14 PM
I`ve got a horrible feeling you`ve hosed your system.
Did you try the command from the recovery console?
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.