Home Feedback

Articles
Using content of this site without direct link to nezavisim.com is prohibited

Linux

How to log-in as root in linux

   
   
To log-in in linux with root account that have all rights and is equivalent to windows Administrator account you can do the following:
1. Log-in in linux with you user account
2. Open command promt window or press "Alt"+"F2" or jusr "F2" according to if you are in grafical or text mode to switch to
"virtual terminal 2"
3. type following commands
- "sudo su"
- enter your password when promted
- "passwd"
- type new passwprd for root account
- "exit"
4. Type logout to log-out from your user account
5. Log-in as root typing "root" for username using as password password you have set for root in step "3"
NOTE: type commands without enclosing quotes
 
     
   
^top^ Add Comment |    
     

<<\back

Made by Ventsislav Alexandriyski
 
 
©All Rights Reserved