Linux Today: Linux News On Internet Time.

More on LinuxToday

What's the Difference Between Sudo & Su?

Apr 18, 2012, 07:00 (1 Talkback[s])


Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers

"The su command switches to the super user – or root user – when you execute it with no additional options. You'll have to enter the root account's password. This isn't all the su command does, though – you can use it to switch to any user account. If you execute the su bob command, you'll be prompted to enter Bob's password and the shell will switch to Bob's user account...

Sudo runs a single command with root privileges. When you execute sudo command, the system prompts you for your current user account's password before running command as the root user.

Complete Story

Related Stories: