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 > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 10-06-2014, 09:06 AM   #1
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Rep: Reputation: 28
root login


I am using Mint 16 and want to login as system administrator.

When I try to login as root in a terminal it says system administrator is not allowed to login from this screen.

How do I login as root?
 
Old 10-06-2014, 09:21 AM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,101
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
cntrl+alt+f1 or ctrl+alt+backspace to drop out of X.

Code:
sudo -s
then password, should have a root prompt.

Code:
startx
May work. May not. I do not log into root except for in the terminal when I need to do something.
Better check it before you wreck it.
 
1 members found this post helpful.
Old 10-06-2014, 10:33 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
The root account is disabled by default on Ubuntu derivatives like Mint and you need to use sudo and your primary users password. Mint 16 is not supported any longer and no updates are available.
 
Old 10-06-2014, 11:13 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
login as yourself at the console and issue
Code:
su - root
enter your usual password
 
Old 10-06-2014, 01:32 PM   #5
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,101
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
As a experiment. I tried this out in my Ubuntu spinoff "Linux-Lite 2.0"

It worked and broke lightdm at the same time. ~/.Xauthority & ~/.ICEauthority permissions became owned by root and one could not log in anymore as user ,(but root could login), until that problem was fixed by me.

So as Yanek said.

Quote:
The root account is disabled by default
So there will be hell to pay if logging into Ubuntu or Mint as root.
Better to login as user and do what needs to be done via gui with

Code:
gksu <app name>
Like I said

Quote:
Better check it before you wreck it.

Last edited by rokytnji; 10-06-2014 at 01:42 PM.
 
Old 10-06-2014, 03:25 PM   #6
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
root login

Thank you all for your help.

I used sudo -s to login as root.

I was using Mint 16 which has a fault because I wanted
to use sudo apt-get install bluefish. I solved the problem by
installing Mint 17 and the command works OK.
 
Old 10-06-2014, 03:55 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
Quote:
I was using Mint 16 which has a fault because I wanted
to use sudo apt-get install bluefish.
And that of course failed because 16 isn't supported and the repositories are not available. Mint 17 should be good for almost 5 more years.
 
Old 10-17-2014, 06:18 PM   #8
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
root is not disabled on Mint.

There is a method of giving it a known password.
 
Old 10-18-2014, 06:03 AM   #9
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by JeremyBoden View Post
root is not disabled on Mint.

There is a method of giving it a known password.
Confirmed.
You can create a root login in Mint by creating a password specifically for root.
But there is no conceivable reason for doing that. Everything you need to do can be done with su, sudo or gksudo.

Last edited by TxLonghorn; 10-18-2014 at 06:05 AM.
 
Old 10-18-2014, 08:00 AM   #10
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
Of course you can create a root account in Mint/Ubuntu but it is not enabled in a default installation as I indicated in my post which is why the OP was having problems. Using sudo on Mint is simpler than going through the process of creating a root account and if one doesn't want to use sudo, don't use Ubuntu/Mint.

Last edited by yancek; 10-18-2014 at 08:01 AM.
 
Old 10-18-2014, 10:04 AM   #11
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
<pedant>The root account already exists.</end pedant>
 
Old 11-11-2014, 06:35 PM   #12
Robert Dinse
LQ Newbie
 
Registered: Nov 2014
Location: Shoreline, WA 98155
Distribution: Centos, Scientific Linux, Debian, Mint, Ubuntu, OpenSuse
Posts: 14

Rep: Reputation: Disabled
Logging in as Root

I don't want to start a religious war, but, to enable root logins type:

sudo passwd root

It will prompt for your account password then the root password twice, after that you will be able to login as root.

If you want to enable graphical root logins, edit /etc/mdm/mdm.conf and in the [Security] section add AllowRoot=true

You will need to restart mdm or reboot. If you're using lightdm or others there are similiar commands for their conf files.
 
1 members found this post helpful.
  


Reply



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
Can't login to root -- What protocols manage user login besides PAM? xtiansimon Linux - Security 9 09-29-2014 11:30 AM
Can't boot Wary Puppy Linux anymore, login: root (automatic login) theADOLESCENT Linux - Newbie 9 09-16-2012 06:13 PM
Unable to login using root after changing root password using passwd command rodimail SUSE / openSUSE 3 12-27-2011 10:34 PM
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 04:27 PM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 03:44 AM

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

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

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