Hor can I login in UBUNTU with administrative rights
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Rep:
I dont think you can log in to an entired session as root, however you can become root if you issue the command sudo -i
in a terminal
Good luck to you!
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
For resetting a forgotten password and other similar tasks hold down Left Shift and select the item with "(recovery mode)" after it. For anything else precede the command with sudo, for example:
The first user you created when you installed Ubuntu is automatically in the 'admin' group. But you can add other users to 'admin' group as well, which makes them administrators with the right to use 'sudo'.
Enabling the Root account is rarely necessary. Almost everything you need to do as administrator of an Ubuntu system can be done via sudo or gksudo. If you really need a persistent Root login, the best alternative is to simulate a Root login shell using the following command...
Code:
sudo -i
To enable the Root account (i.e. set a password) use:
Code:
sudo passwd root
Logging in to X as root may cause very serious trouble. If you believe you need a root account to perform a certain action, please consult the official support channels first, to make sure there is not a better alternative.
The OP asked nothing about root user, the question was administrative user. Administrator has a specific meaning in Ubuntu, it means a user who is in the 'admin' group and is therefore authorized to administer the system using 'sudo'. Must we turn this thread into another tired "don't log in as root" debate?
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by snowpine
The OP asked nothing about root user, the question was administrative user. Administrator has a specific meaning in Ubuntu, it means a user who is in the 'admin' group and is therefore authorized to administer the system using 'sudo'. Must we turn this thread into another tired "don't log in as root" debate?
Indeed, you are right.
It's not our fault though that Canonical decided to go their own way, thus confusing Linux users.
I think I'll stay away from Ubuntu threads in future. Sorry I know that's negative and OT but it really is turning into Ubuntu OS now.
The OP asked nothing about root user, the question was administrative user. Administrator has a specific meaning in Ubuntu, it means a user who is in the 'admin' group and is therefore authorized to administer the system using 'sudo'. Must we turn this thread into another tired "don't log in as root" debate?
Since the first user IS administrative, and he mentioned a LOGIN, it could be assumed he MEANS root, and just used "administrative" because he's a crossover from Windows, since he can already log in as an administrative user.
Indeed, you are right.
It's not our fault though that Canonical decided to go their own way, thus confusing Linux users.
I think I'll stay away from Ubuntu threads in future. Sorry I know that's negative and OT but it really is turning into Ubuntu OS now.
Ubuntu calls this group 'admin', Debian calls it 'sudo', and Fedora calls it 'wheel'. Since there is no standard terminology, someone is bound to be confused no matter what.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.