LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 11-13-2007, 01:03 PM   #1
toolesk
LQ Newbie
 
Registered: Sep 2007
Posts: 14

Rep: Reputation: 0
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.
 
Old 11-13-2007, 05:05 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Try "sudo su -". It will do the same thing as logging in as root.
 
Old 11-14-2007, 11:01 AM   #3
toolesk
LQ Newbie
 
Registered: Sep 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ranger_nemo View Post
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.
 
Old 07-06-2008, 06:40 PM   #4
burpreynolds
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Exclamation What?

Quote:
Originally Posted by ranger_nemo View Post
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?
 
Old 07-23-2008, 02:29 PM   #5
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
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.
 
Old 04-21-2010, 02:54 PM   #6
rahulkya
Member
 
Registered: Feb 2009
Location: New Delhi
Distribution: Linux mint,Ubuntu,Debian,RHEL 5,slackware 13.1, free BSD,solaris.
Posts: 186
Blog Entries: 3

Rep: Reputation: 33
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
 
Old 04-21-2010, 04:44 PM   #7
rich_c
Member
 
Registered: Apr 2008
Location: UK
Distribution: PeppermintOS
Posts: 387
Blog Entries: 74

Rep: Reputation: 81
Quote:
Originally Posted by toolesk View Post
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?
 
Old 04-21-2010, 11:28 PM   #8
burpreynolds
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by rich_c View Post
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?$.
 
Old 04-21-2010, 11:39 PM   #9
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
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").
 
Old 04-25-2010, 08:38 PM   #10
bendib
Member
 
Registered: Feb 2009
Location: I'm the rat in your couch.
Distribution: Fedora on servers, Debian on PPC Mac, custom source-built for desktops
Posts: 174

Rep: Reputation: 40
sudo startx -- :1
 
  


Reply

Tags
login, mint, root, su, sudo, ubuntu



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
Linux Mint Anyone?? chrisakavern Linux - Distributions 14 09-19-2008 03:22 AM
Linux Mint StevanV Ubuntu 2 08-22-2007 02:17 PM
Can't login into linux even as a root Zmyrgel Linux - Newbie 6 02-08-2006 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 06:48 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration