Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... |
| 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. |
|
 |
11-13-2007, 01:03 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2007
Posts: 14
Rep:
|
Root Login On Linux Mint Live
I am running Linux Mint 3.1 off of a flash drive and am having trouble logging in as root at the login screen(Not Terminal/Shell). I understand that because it is derived from Ubuntu that you are not supposed to be able to do this. I understand the consequences and am willing to take the risks. I do not want to use the sudo commands, this is not what I am asking. It has been done and I am trying to figure out how. If you can help I would much appreciate it; thank you in advance.
p.s. Sorry for being so anal but everywhere I go people go on about how not being able to login to root is a good thing, and frankly they tend to get off topic and I never get answers. LQ has been very helpful in the past and I hope that you can help.
|
|
|
|
11-13-2007, 05:05 PM
|
#2
|
|
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142
Rep:
|
Try "sudo su -". It will do the same thing as logging in as root.
|
|
|
|
11-14-2007, 11:01 AM
|
#3
|
|
LQ Newbie
Registered: Sep 2007
Posts: 14
Original Poster
Rep:
|
Quote:
Originally Posted by ranger_nemo
Try "sudo su -". It will do the same thing as logging in as root.
|
I understand what the sudo commands do and how to use them, and I have. I DO NOT want to use the terminal, I use it all the time and someone on another forum figured out how use the login screen to become root using a GUI, I may sound like a noob but this is what I am looking for. If u can help I would greatly appreciate it. Thanks.
|
|
|
|
07-06-2008, 06:40 PM
|
#4
|
|
LQ Newbie
Registered: Jul 2008
Posts: 2
Rep:
|
What?
Quote:
Originally Posted by ranger_nemo
Try "sudo su -". It will do the same thing as logging in as root.
|
Come on! I need my computer back. Can somebody read this guy's entire question and answer it?
|
|
|
|
07-23-2008, 02:29 PM
|
#5
|
|
Senior Member
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , Solaris 10, RHEL
Posts: 1,763
Rep: 
|
1) Login as the regular user and open a terminal and run the command stated above
Code:
user@mint$ sudo su -
2) Once in the root shell assign a password to root
Code:
root@mint# passwd root
OR
Just do it with sudo
Code:
user@mint$ sudo passwd root
The fact that someone told you to "sudo su -" should have been enough for you to realize "hey once I'm in the root shell I can assign a password to root and be able to login!"
Also it took me 2 seconds to find this on google by typing "root account Ubuntu" (it was the second link)
http://www.ducea.com/2006/06/21/ubun...-root-account/
-C
Last edited by custangro; 07-23-2008 at 02:30 PM.
|
|
|
|
04-21-2010, 02:54 PM
|
#6
|
|
Member
Registered: Feb 2009
Location: New Delhi
Distribution: Linux mint,Ubuntu,Debian,RHEL 5,slackware 13.1, free BSD,solaris.
Posts: 185
Rep:
|
root login graphically in ubuntu , mint etc
as you know the root account is disabled by default but it is enabled in terminal so now I tried bypassing the default setting...
open terminal with normal user account..
type
$ sudo su -
and give the password
now terminal comes in root mode
#
now type
# pkill gdm
now u enterd into a text mode login
again login as normal user
then do
$ sudo su -
give passwd
now type
# startx
this will make u login as root graphically
|
|
|
|
04-21-2010, 04:44 PM
|
#7
|
|
Member
Registered: Apr 2008
Location: UK
Distribution: Mepis; Maemo; openSUSE
Posts: 384
Rep:
|
Quote:
Originally Posted by toolesk
I understand that because it is derived from Ubuntu that you are not supposed to be able to do this. I understand the consequences and am willing to take the risks.
|
That's good because, let's make it clear, what you want to do does go against a lot of knowledgeable people's advice. Still, if you are making an informed decision then that's fine. I trust you have a good, robust root password?
|
|
|
|
04-21-2010, 11:28 PM
|
#8
|
|
LQ Newbie
Registered: Jul 2008
Posts: 2
Rep:
|
Quote:
Originally Posted by rich_c
That's good because, let's make it clear, what you want to do does go against a lot of knowledgeable people's advice. Still, if you are making an informed decision then that's fine. I trust you have a good, robust root password?
|
Yes. It's $|_|93?\1\+3\]o <#^[/v\3?$.
|
|
|
|
04-21-2010, 11:39 PM
|
#9
|
|
Senior Member
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Rep: 
|
I'll add here, that when I was using Ubuntu, 9.04 that in addition to setting the root password I still had to configure gdm to allow me to login as root from the login window. Without the second part I was only able to login as root from the terminal. Allowing graphical root login was done in Ubuntu under:
System --> Preferences/Administration (I can't remember which) --> login windows --> allow administrator logins (or something to that effect, it didn't say root, it said "administrator").
|
|
|
|
04-25-2010, 08:38 PM
|
#10
|
|
Member
Registered: Feb 2009
Location: I'm the rat in your couch.
Distribution: Fedora, Debian on ppc, Oblong Linux.
Posts: 169
Rep:
|
sudo startx -- :1
|
|
|
|
| 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 02:49 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
|
|