sudo functionality and security

Gianluca Cerminara gianluca.cerminara at
Mon Jun 4 17:38:11 UTC 2007

Donn wrote:
> On Monday 04 June 2007 18:34, Greg Booth wrote:
>> Hi all.I was wondering if anyone had any specific reason we should use sudo
>> instead of actually switching to root.
> You can switch to root with : sudo -i
>> Does not removing all files starting 
>> at / work the same doing it as root or using sudo ?
> sudo is the same as being root (practically)
>> What's the reasoning 
>> behind putting a layer between the user and root ?
> Security, I'd imagine.
>> I've never understood it 
>> and really never used it. I prefer commandline, and detest typing sudo in
>> front of everything I'm doing.
> Well, the number of root things you do is limited unless you are some kind of 
> sysop. If you hate sudo this and sudo that, then keep a konsole open with a a 
> root login via sudo -i
> /d

Also you can use
sudo su
which will open a shell as root.

One good thing about sudo is that in this way you don't have an 
administrator with an username known by everybody...


More information about the kubuntu-users mailing list