Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ General Discussion _ I feel stupid

Posted by: pondwaterboy May 24 2008, 11:34 AM

Hello.

This may seem like a stupid question and I feel stupid for asking it but how do I log onto the root user?

I'm using Ubuntu and I don't seem to be able to do anything with any programs because to do that you have be logged in as root, but when I tried logging in root on the main login page it said "System Administrator is not allowed to log in from this page"...

Yes I am n00b. Help me please!

Am I missing something that's blatantly obvious?!?!

Posted by: michaelk May 24 2008, 11:42 AM

Ubuntu does not permit root login by default. See the link for more details.
https://help.ubuntu.com/community/RootSudo

You can enable root login:
Go to System -> Administration -> Login Screen Setup
You will be prompted for your password (user password for sudo)
Under the Security tab in the Setup GUI, check 'Allow root to login with GDM'
After you have done this, log out of your account and log in as root with tthe username 'root' (obviously) and the password you had created for the root account.

Posted by: markjr May 24 2008, 03:37 PM

QUOTE (pondwaterboy @ May 24 2008, 11:34 AM) *
Hello.

This may seem like a stupid question and I feel stupid for asking it but how do I log onto the root user?

I'm using Ubuntu and I don't seem to be able to do anything with any programs because to do that you have be logged in as root, but when I tried logging in root on the main login page it said "System Administrator is not allowed to log in from this page"...

Yes I am n00b. Help me please!

Am I missing something that's blatantly obvious?!?!


The other thing you can do until you apply Michael's fix (above) is when you're logged into a shell as a normal user just try "su" and become the superuser that way.

Posted by: michaelk May 24 2008, 04:34 PM

As explained in the link su does not work either. The prefered method would be sudo.

Posted by: pondwaterboy May 25 2008, 08:49 AM

Ok.

Thanks!!

Posted by: Corey Jun 16 2008, 09:13 AM

I kind of like the Ubuntu idea of not setting a root password. If you require an interactive shell as root (so you don't have to keep typing sudo during a session), you can log in as your regular use, and type

QUOTE
sudo -i


This will open up a root shell that you will be able to execute commands as root without the need of 'sudo' until you log out.

Posted by: benlin910 Dec 7 2010, 03:37 AM

I'm using Ubuntu


__________________
http://watchonlinemoviez.net

Posted by: michaelk Dec 7 2010, 05:25 AM

benlin910,
Welcome to LinuxHelp.

Posted by: aza Aug 5 2011, 06:07 AM

Hello, new member is here. Nice to meet you.

Posted by: superswing Feb 13 2012, 05:50 AM

thanks you . i like to data

Posted by: KochL Apr 12 2012, 06:34 AM

You are not alone! I also couldn't log in. But also couldn't even ask for help - you are brave! you have done great thing..thank you!


_________________
free ringtone maker

Posted by: daffodil1003 Jun 7 2012, 09:12 PM

QUOTE (pondwaterboy @ May 24 2008, 11:34 AM) *
Hello.

This may seem like a stupid question and I feel stupid for asking it but how do I log onto the root user?

I'm using Ubuntu and I don't seem to be able to do anything with any programs because to do that you have be logged in as root, but when I tried logging in root on the main login page it said "System Administrator is not allowed to log in from this page"...

Yes I am n00b. Help me please!

Am I missing something that's blatantly obvious?!?!


I don't understand question

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)