You might have this question at the back of your brain that WTH ! is the difference of opinion between root and superuser ? And how ’re their commands different .
substance abuser account and sudo ?
Here are some tips that will facilitate you out ,
So , what fall out when you install Ubuntu on your organization is that you are prompted to make a user bill .
Let ’s say you made that account with some username and some password .
What Ubuntu does by default is that it makes your user as the ROOT itself .
Wait , you do n’t bang what a Guest , User , Root and Superuser are ? ? 😛
Guest : Well . If you are logging in as a guest then you barely have any privilege , you ca n’t instal any software system , and your access is also confine .
User : IF you are the one who installed Ubuntu , then this story is by default gave the administrative privilege by Ubuntu . So , the sudo command which actually can be used by the root user only , but since , by default , you have the administrative perquisite you may operate the sudo command just by confirming that you are the nonpayment substance abuser .
God imprecate it ! Just enter your user ’s password and the sudo command will work . ( if you are the nonremittal substance abuser only ! ) .
Q. What if you are not the default user ?
Ans . Then you ca n’t start the sudo command until and unless you fuck the root password !
Q. But I make love the default user ’s login password , so will it work ?
Ans . No . Well , you are not the root , and you do n’t have the privileges the administrator has . And that watchword which you pass to bed ( the default user login password ) . It is not the root password .
Q. Then what is the root password and when are you go to tell me what is the difference between superuser and root ! ! ?
Ans . First of all , Calm down , base and superuser are the same . And the beginning password is deactivate / locked by default option , so you have to activate it . Next : you have to ready up a origin password yourself now , and I am here to tell you how . So loose . Just type ( The nonremittal user can only do this ):
$ sudo su
It will remind you for your user ’s password . Enter it .
Then do :
$ sudo passwd root
Enter your required antecedent password and that ’s it ! You have activated the root password which was locked by nonpayment as the default user ’s login password was sufficient ; now you may lumber in from other account and get root privilege by provide this password .
Q. What is the difference between the su and the sudo command ?
Ans . The su command is like the GOD statement ; it stand for Switch User .
i.e. su < exploiter name > and BAM !
you may log into any substance abuser on your organization without make out his / her ’s login word as DUDE ! ! YOU ARE THE ROOT .
So , just enter your root password and delight .
And if you just typewrite su and hit Enter , then you will start operate as the ROOT itself , to get out of origin mode type “ expiration ” on your terminus .
Next , is the sudo command which allows the rootage to execute commands on his write up as well as on anyone else ’s account ( by $ sudo -u username ) .
So in nutshell , you could be the root in two way
No 1 . if yours is the nonpayment explanation than your login password will work for sudo command .
No2 . You know the origin watchword . ( turn over it is activated , else how can you know it
finger costless to ask any questions !