LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   root login problem in ubuntu 5.10 (https://www.linuxquestions.org/questions/ubuntu-63/root-login-problem-in-ubuntu-5-10-a-414509/)

linuxvn 02-25-2006 12:59 PM

I want to test my system with all privileges, so I want to use as root user, but sudo command.
Here my test:
- Create a user with uid=0 ( admin )
- Login with a normal user
- $su admin
-> now, I have all privileges without sudo command, so uncomfortable.

Gezzer 02-25-2006 07:39 PM

Quote:

Originally Posted by Bresenham
Hey.

I'm needing some help...
After I changed my root pass (by doing "sudo passwd") in Ubuntu 5.10, I can no longer use sudo command, only su. When I try sudo, it says the password is incorrect, which is not since I can login with su.
What can I do to fix this? I'm kinda used to sudo and it's safier then loggin in as su (in theory...).

Thanks!

open a terminal write
sudo passwd root
enter the root password
then enter the same password as your user account
this stops the above problem ...


All times are GMT -5. The time now is 06:40 PM.