0

I have found some solutions but what I want to do is I want to become a root user "permanently". When I restart computer I still want to stay as a root user. I don't want to use termanial everytime to become a root user. Is there any idea?

5
  • @minerz029 I did what they say but I am still not a root user. After I write "su" from console I become a root user but I don't want this.
    – hellzone
    Dec 27, 2013 at 22:18
  • 1
    Are you sure? If you follow the steps, it should enable graphical root login, i.e. from the login screen you will login as root and be the root user.
    – kiri
    Dec 27, 2013 at 22:20
  • @minerz029 So I can't update my current user(call it hellzone) as root?
    – hellzone
    Dec 27, 2013 at 22:24
  • 2
    Please also read this: askubuntu.com/questions/16178/why-is-it-bad-to-run-as-root
    – Takkat
    Dec 27, 2013 at 22:27
  • You are not supposed to do this, but you can change your userid in /etc/password to 0, so your user is effectively a root user. Apr 20, 2016 at 9:26

2 Answers 2

1

I strongly recommend you don't permanently stay as a root user. Is there any reason you need to do this? I believe you need to delete your actual user, but I am not really sure if Linux structure allow this. Instead of been root permanently, you can keep the regular configuration, protecting your system from any possible damage or attack. In any case, when you need administrative tasks and permissions, you just need to enter your system password when required and that's it!

2
  • I don't want to use terminal thats why I want to become a root user.
    – hellzone
    Dec 27, 2013 at 22:27
  • 2
    Running as root will make no difference regarding how often you'll be using the terminal. All it means is that you'll never be asked for your password to install anything, nor to make important, irreversible and catastrophic changes to your system. And as significantly, neither will anything you run across on the internet. What you want to do is a very bad idea. It bypasses pretty much every security measure built into Linux.
    – Marc
    Dec 28, 2013 at 0:24
0

In Ubuntu 13.10 / 13.04 / 12.10 and Ubuntu 12.04, User defined login or GUI root login is disabled by default. You can enable the user defined login by modifying the lightdm configuration file. Once the manual login is enabled, then its easy to login as root in GUI.

To Enable Manual Login in Ubuntu 13.10 13.04 12.10 12.04

Open a Terminal run the following command, Issue the password for the user when prompted.

echo "greeter-show-manual-login=true" | sudo tee -a /etc/lightdm/lightdm.conf

Now set / change the password for the root user in your machine.

To set / change the root password run the following command in the terminal and issue the password for the user, when prompted.

sudo passwd

Enter the password twice. After creating the password, restart the system.

Now you can find the manual login option in the login list. Select Login and type user name as root and provide the root password which you have created.

Hope this will be helpful for you!!!

0

Not the answer you're looking for? Browse other questions tagged .