My background most of the time with windows as the operating system. After seeing my friend switching to ubuntu, me too start liking it. However I'm coming across a lot of usage about the sudo command. please help what is sudo and when should i use it?

1 answers, votes, 1424 views
inder's picture
asked by inder
2 years 47 weeks ago



1 Answers

Answer

That is a nice question. Most of the folks coming from windows background have this question. 
Sudo is a alternative command to the earlier su command that needs a root password which most administrators are not happy to share with. The general purpose of su is to do administrative tasks without leaving the current logged in user. 
Sudo has the similar function except on the other hand brings easy of use without trading root password. Also it has the following additional features

  • Sudo can be limited to a certain list of commands. What that means is a admin can restrict the commands that can be used alongwith sudo command
  • All command executions through sudo can be logged
  • A different password can be assigned to sudo without trading root password
  • Sudo execution can also be limited to limited users

Syntax: sudo <command> and it will prompt for sudo password

geeky's picture
answer by Geeky
2 years 47 weeks ago

Ubuntu 11.04 released!

Ubuntu 11.04 code named natty narwhal is released download ubuntu 11.04

Read ubuntu 11.10 reviews and share yours now!!

View in your own language!

Stay Connected

Ubun2.com on Facebook Ubun2.com on Twitter RSS Feeds

Poll

Favorite desktop environment?: