| Ubuntu This forum is for the discussion of Ubuntu Linux. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-14-2007, 09:55 AM
|
#1
|
|
LQ Newbie
Registered: May 2006
Posts: 8
Rep:
|
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 !!!
|
|
|
|
05-14-2007, 09:58 AM
|
#2
|
|
Member
Registered: Mar 2004
Location: Scotland
Distribution: Debian Sid / Kubuntu
Posts: 170
Rep:
|
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.
|
|
|
|
05-14-2007, 10:37 AM
|
#3
|
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151
Rep:
|
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
|
|
|
|
05-14-2007, 02:51 PM
|
#4
|
|
Member
Registered: Apr 2007
Distribution: Feisty (Ubuntu Studio)/Edgy
Posts: 69
Rep:
|
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.
|
|
|
|
05-17-2007, 06:07 PM
|
#5
|
|
LQ Newbie
Registered: Oct 2005
Location: ISRAEL
Distribution: ubuntu
Posts: 17
Rep:
|
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?
|
|
|
|
05-17-2007, 06:27 PM
|
#6
|
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151
Rep:
|
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.
|
|
|
|
05-17-2007, 06:44 PM
|
#7
|
|
Member
Registered: Apr 2007
Distribution: Feisty (Ubuntu Studio)/Edgy
Posts: 69
Rep:
|
When ask for a PW, use your normal pw.
|
|
|
|
05-18-2007, 06:24 AM
|
#8
|
|
LQ Newbie
Registered: Oct 2005
Location: ISRAEL
Distribution: ubuntu
Posts: 17
Rep:
|
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"
|
|
|
|
05-18-2007, 06:26 AM
|
#9
|
|
LQ Newbie
Registered: Oct 2005
Location: ISRAEL
Distribution: ubuntu
Posts: 17
Rep:
|
Quote:
|
Originally Posted by Patrick K
When ask for a PW, use your normal pw.
|
I did, and it cant recodnize it...
|
|
|
|
05-18-2007, 12:46 PM
|
#10
|
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,780
|
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).
|
|
|
|
05-18-2007, 03:39 PM
|
#11
|
|
LQ Newbie
Registered: Oct 2005
Location: ISRAEL
Distribution: ubuntu
Posts: 17
Rep:
|
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 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:29 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|