[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sudo instead of SU



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

my random 2 cents
raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/



Reply to: