PDA

View Full Version : [ubuntu] etc/sudoers



ahso4271
May 22nd, 2010, 06:12 PM
Hi
i added my username in etc/sudoers but still after rebooting i cannot do a simple su.
Thanks

ubudog
May 22nd, 2010, 06:14 PM
Did you type "su" or "sudo -s"? There is a difference.

ahso4271
May 22nd, 2010, 06:16 PM
ahm different to opensuse? sudo -s works. Thanks

ubudog
May 22nd, 2010, 06:18 PM
You are welcome. If you do "sudo -s" in Ubuntu, you can execute commands as root, except stay in your home directory. If you do "su", you will leave your home directory and go to the root directory.