LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 05-14-2007, 09:55 AM   #1
eeeboy
LQ Newbie
 
Registered: May 2006
Posts: 8

Rep: Reputation: 0
Problem with root login !


I am very much new in Ubuntu [though not that much newbe in Red Hat !!] . Since I have installed ubuntu in my box , I tried to login ,it says that I can't login as a root from that screen. I have to login as a non root user. But I can login as root from "Recovery mode".

Anyway after logging in as a non root user , I can do "su root" , requires administrator pass , but outside that terminal window I can't have that root access , i mean I can't copy paste any files in graphical window since they show I have not access .

This is a weird problem for me !

Help ! Help !! Help !!!
 
Old 05-14-2007, 09:58 AM   #2
stealth_banana
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Debian Sid / Kubuntu
Posts: 170

Rep: Reputation: 30
try

sudo nautilus

personally I prefer midnight commander (sudo apt-get install mc)

but be careful, there is a good reason for not allowing root logins. Its dangerous unless you know what you are doing.
 
Old 05-14-2007, 10:37 AM   #3
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
eeeboy: Not allowing root login is a feature somewhat unique to Ubuntu, but you are assigned to group admin by default and have root privileges when using sudo.

Review the sudo manpage and you will discover numerous ways to overcome this limitation.

Code:
~$ sudo visudo
Password:
...
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
...

$ groups
-xxxxxxx- adm dialout cdrom floppy audio dip video plugdev scanner netdev lpadmin powerdev admin
 
Old 05-14-2007, 02:51 PM   #4
Patrick K
Member
 
Registered: Apr 2007
Distribution: Feisty (Ubuntu Studio)/Edgy
Posts: 69

Rep: Reputation: 15
I made a menu item; "Root file browser" that I use. Open "edit menus" and click on the administration menu. Select "new item". In the command box put "gksu nautilus". Name it what you want. Close up everything and then open the administration menu, you'll see "Root File Browser". When you click on it you'll be prompted for your password and the browser will open with root privileges.
 
Old 05-17-2007, 06:07 PM   #5
Roni_G
LQ Newbie
 
Registered: Oct 2005
Location: ISRAEL
Distribution: ubuntu
Posts: 17

Rep: Reputation: 0
I have a problem in the process of installation it didn't asked any password for "root" that i found weird, now it wont let me in... what should i do???? re-install it again?
 
Old 05-17-2007, 06:27 PM   #6
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
Quote:
Originally Posted by Roni_G
I have a problem in the process of installation it didn't asked any password for "root" that i found weird, now it wont let me in... what should i do???? re-install it again?
Thatís normal. By default, Ubuntu does not give you root access other than through sudo, sort of.

Log in as a regular user and read up on sudo.
 
Old 05-17-2007, 06:44 PM   #7
Patrick K
Member
 
Registered: Apr 2007
Distribution: Feisty (Ubuntu Studio)/Edgy
Posts: 69

Rep: Reputation: 15
When ask for a PW, use your normal pw.
 
Old 05-18-2007, 06:24 AM   #8
Roni_G
LQ Newbie
 
Registered: Oct 2005
Location: ISRAEL
Distribution: ubuntu
Posts: 17

Rep: Reputation: 0
Quote:
Originally Posted by WhatsHisName
Thatís normal. By default, Ubuntu does not give you root access other than through sudo, sort of.

Log in as a regular user and read up on sudo.
But I have tried "sudo" and it doesn't work it says
Can you help what command i can activate root? gives me "Authentication failure"
 
Old 05-18-2007, 06:26 AM   #9
Roni_G
LQ Newbie
 
Registered: Oct 2005
Location: ISRAEL
Distribution: ubuntu
Posts: 17

Rep: Reputation: 0
Quote:
Originally Posted by Patrick K
When ask for a PW, use your normal pw.
I did, and it cant recodnize it...
 
Old 05-18-2007, 12:46 PM   #10
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
The root account in Ubuntu is locked; read man passwd and check the -l option. To unlock, run sudo passwd root in a terminal.

Further a number of distros don't allow root login in the GUI (so only non-privileged users can use it).
 
Old 05-18-2007, 03:39 PM   #11
Roni_G
LQ Newbie
 
Registered: Oct 2005
Location: ISRAEL
Distribution: ubuntu
Posts: 17

Rep: Reputation: 0
Quote:
Originally Posted by Wim Sturkenboom
The root account in Ubuntu is locked; read man passwd and check the -l option. To unlock, run sudo passwd root in a terminal.

Further a number of distros don't allow root login in the GUI (so only non-privileged users can use it).
Thank you very much
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with root login ibshar Linux - Newbie 2 09-26-2006 05:55 AM
Root Login Problem ... boborano Linux - Security 6 08-16-2006 01:48 AM
MySQL root login problem AnRkey Linux - Software 2 05-10-2006 05:31 AM
login root problem khebs Linux - Security 1 08-30-2005 02:10 PM
Problem Login As Root, Help!!!!! abulafiar Linux - Newbie 4 08-15-2004 02:54 PM


All times are GMT -5. The time now is 10:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration