Tuesday, November 17, 2009

Login as root in Linux

  • Open Applications>Accessories>Terminal.
  • Type: sudo -s.
  • It asks for a password and you have give password of your account. Here, -s means super user account, run the login scripts.
 
  • When you want to logout then type exit and you are done with logout of the root.
  • For setting the password for the login of root, open: System>Administration>Users and Groups.
  • Unlock root with your current password and set the password manually.
    Now open System>Administration>Login Window. Open Security tab and check the Allow local administrator login option. Now logout and you can again login as a root

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...