Enabel login your ubuntu as Root user

This post was written by admin on August 31, 2009
Posted Under: General,Security

In ubuntu,root user has all the administrator privileges.By default,ubuntu will not enable the root account and it is not recommended,because login your ubuntu as root making your operating system more vulnerable,so we commonly add “sudo” before the command that want to run as root.

If you want to enable the root account,first run this in terminal window:

sudo passwd root

It’ll prompt you to enter a new root password and again to confirm.

Then,go to System->Administration->Login window.

Select Security tab and check the marked checkbox in this picture.

loginroot

Uncheck the checkbox and run this command to disable the root account.

sudo usermod -p '!' root

Related posts:

  1. How to enable sound in Ubuntu 11.04 While login as root
  2. Enable Login As Root in Ubuntu 12.04/11.10 with LightDM
  3. Hide user-list at login screen,type username and password to login
  4. Ask for a password to access recovery mode root console
  5. How to reset forgotten user/boot password in Ubuntu

    Tags:

    Reader Comments

    Hello sir i’m new in ubuntu, it’s actually 6 months i have been using ubuntu, i try to Enabel login your ubuntu as Root user, but when i went to System->Administration-> there’s no login window only login screen and nothing else what can i do please help me !!!

    [Reply]

    admin Reply:

    Hi,Sion! I had this updated,thanks.

    [Reply]

    #1 
    Written By Sion on November 6th, 2009 @ 9:14 am

    Trackbacks

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address