PDA

View Full Version : [ubuntu] user1 is not in the sudoers file.



manusurya9139
April 30th, 2011, 12:42 PM
Hi,

I am using Ubuntu 9.10 and I lost my sudo accesses for the User. So I am not able to use sudo command as I get the error,

user1 is not in the sudoers file. This incident will be reported.

Also I tried to login into the root user

su root

it will ask for the password.
(actually I dont know the password of root but after pressing enter I get the following error)
su: Authentication failure

I dont know how to add the user1 into the sudoers list.


Also, is there any way to add the current user into admin group without using "sudo".

Please help me out....

Hedgehog1
April 30th, 2011, 02:01 PM
Please use this handy thread to reset your root password: resetpassword (http://www.psychocats.net/ubuntu/resetpassword)

Once you can again use root/admin access right, you will have the power to fix the rest of your issues.


The Hedge

:KS