Re: Sudo instead of SU
Kamaraju S Kusumanchi wrote the following on 21.04.2007 02:02:
> Masatran, R. Deepak wrote:
>
>> How can I replace SU with Sudo (like Ubuntu), in Gnome and other
>> applications?
>>
>
> I will mention this since sooner or later (I think) you will hit this.
>
> su - gives you a root shell so you can execute multiple commands (one after
> another) as being root. sudo is usually used to run a single command as
> root (ex :- sudo apt-get update). If instead, you want to use sudo to gain
> access to a root shell, you can use
>
> sudo -s
> sudo /bin/bash
sudo -i
bye Thilo
--
i am on Ubuntu 2.6 KDE
- some friend of mine
gpg key: 0x4A411E09
Reply to: