Ubuntu Tutorial

Root Privilege : Linux systems have a privileged user named root. Root privilege is designed for never to let anyone directly access specific task or operation. Example: you cannot install application into system without root privilege. The root or super user or administrator account is a special account that allows total control over the entire system. so use root privilege carefully. Following are some tasks that need root privilege.

  • install and remove applications.
  • creating and deleting disk partitions.
  • creating and removing users or groups.
  • Do not share root password to anyone.
  • Do not make experiment while you are working with root privileges.

In ubuntu sudo (Super User DO) command is used for root privilege. you need password to run sudo command by default the system login password is same as sudo password.

Terminal does not print anything when you type root password. You just type password and press enter key. Your password will get verified. If password is right command will get executed and if password is wrong shell will print another message to enter password.

sometime you may get error message as Permission denied when executing command then execute sudo and remaining command.

permission denied message for command

solve permission denied error

When we run sudo command successfully system set timeout of 15 minute. In this period you don’t need to enter sudo password to run sudo command. To exit from timeout use exit command.