If you are trying to run a root command and your username is not in the sudo list (i.e. getting a message like "
1. Reboot the machine and enter the recovery mode (press ESC a few times during the startup and select Recovery Mode)
2. Execute 'visudo'. Copy the line containing 'root ...' from sudoers file replacing root with your username.
3. Save the file and root. Your username now should be allowed to run sudo command.
Saturday, December 13, 2008
Adding a root user without root access (Ubuntu)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment