LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2020, 07:53 PM   #1
drownk
LQ Newbie
 
Registered: Jan 2020
Posts: 5

Rep: Reputation: Disabled
Unhappy Mint 19.3 login only as user, not as administrator


I am a real newbie. In learning, I created a practice user "jared" and gave him the password "jared". NOW, when my Microsoft Surface Pro 2 having only Linux Mint 19.3 Mate residing thereon, will not let me login as anyone but "jared" with "jared" as password. It boots up with the computer name and it will not authenticate on anything BUT "jared". Nowhere is there a place to login as administrator or "su".

So, how to get out of this pickle? Would be so grateful for some help. Thanks.

Last edited by drownk; 02-06-2020 at 07:55 PM. Reason: Clarity
 
Old 02-06-2020, 08:19 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,472
Blog Entries: 13

Rep: Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582
I found a few hits when searching for "Mint disable auto login 19.3". Please do the same. Once you complete that, you should get a login screen when you log in.

Now, anything weird like you never set a root password, or you forgot it? Because using su, sudo, or logging in as root is helpful to do. Meanwhile you should login as your username on a regular basis, but use sudo or root privileges for things like software installations, updates, or other administrative things on your system.
 
1 members found this post helpful.
Old 02-06-2020, 08:40 PM   #3
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,580

Rep: Reputation: 450Reputation: 450Reputation: 450Reputation: 450Reputation: 450
Mint is a Debian derivative and as such does not have an administrator or root account. You can only log in as a normal user, in your case, "jared". However...

To elevate your privileges to "root" or administrator" level you need to use sudo.
Code:
sudo <command>
Password: <Your user password>
my

Play Bonny!

 
1 members found this post helpful.
Old 02-06-2020, 08:58 PM   #4
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,505

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Quote:
Originally Posted by Soadyheid View Post
Mint is a Debian derivative and as such does not have an administrator or root account.

Umm... just wondering, but is this something new in Debian? I'm asking because years ago I used to run Debian and many Debian derivatives on my systems. I ALWAYS had a root account and used su rather than sudo, which I had disabled.


https://wiki.debian.org/Root
 
1 members found this post helpful.
Old 02-06-2020, 09:11 PM   #5
drownk
LQ Newbie
 
Registered: Jan 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
Kinda Solved but now has auto sign in with no password

I tried "suspending" jared's session. Then I restarted/rebooted and it booted straight to my desktop without requirement for ANY sign-in. It does not matter in the "Change User Password" if the check box for "Don't ask for password on login" is checked or not checked and I did change my password. No, "weird stuff" like having no password, etc.

Last edited by drownk; 02-06-2020 at 09:13 PM. Reason: Further clarification
 
Old 02-06-2020, 09:22 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 22,301

Rep: Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555
Quote:
Mint is a Debian derivative and as such does not have an administrator or root account.
Mint is based on Ubuntu which is based on debian. By default, the root account is locked in Ubuntu/Mint but is not with debian. The user that was created when you installed Mint is the administrator and has sudo privileges to run root commands.

Mint does have an autologin option but you still need to use your password when running sudo commands.

autologin is configured in your /etc/lightdm/lightdm.conf file.

Last edited by michaelk; 02-06-2020 at 09:27 PM.
 
4 members found this post helpful.
Old 02-06-2020, 09:24 PM   #7
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,505

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Thank you @michaelk. That answered my question above.
 
1 members found this post helpful.
Old 02-07-2020, 12:46 AM   #8
drownk
LQ Newbie
 
Registered: Jan 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
Wink Inability to require login for Administrator Mint 19.3

SOLVED - Inability to require login and password for Administrator in Linux Mint 19.3 in GUI (want to learn bash command line for this):

Control Center > Login Window > Enter Password > Set "Manual Login" to "On" > Under "Automatic Login" clear the username box.
 
1 members found this post helpful.
Old 02-07-2020, 10:11 AM   #9
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,505

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Glad you got it squared away, @drownk. Sorry we strayed a bit off-topic from your original query.

Have a great weekend!

~Eric
 
1 members found this post helpful.
Old 02-07-2020, 10:52 AM   #10
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,472
Blog Entries: 13

Rep: Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582Reputation: 4582
Quote:
Originally Posted by drownk View Post
SOLVED - Inability to require login and password for Administrator in Linux Mint 19.3 in GUI (want to learn bash command line for this):

Control Center > Login Window > Enter Password > Set "Manual Login" to "On" > Under "Automatic Login" clear the username box.
Glad you have resolved it.

At the top of the thread, there's a pulldown menu titled Thread Tools which allows you to mark the thread as Solved. Please consider this action. Threads help other users who may have a similar situation. Seeing that a similar situation was solved, helps them to assess the effectiveness of recommendations or know if you found an alternate solution on your own.
 
1 members found this post helpful.
Old 02-07-2020, 08:22 PM   #11
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,580

Rep: Reputation: 450Reputation: 450Reputation: 450Reputation: 450Reputation: 450
Quote:
Mint is based on Ubuntu which is based on debian. By default, the root account is locked in Ubuntu/Mint but is not with debian.
I stand corrected. I'd always thought that as Mint and Ubuntu were derived from Debian and that a root account was not required and root accounts related to RedHat and it's derivatives in the main.

Thanks for the heads up.

Play Bonny!

 
1 members found this post helpful.
  


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
You must be a good system administrator before being a network administrator. mohajuice Linux - Certification 5 01-03-2013 01:46 PM
Easiest way to login as another user on domain using an Administrator account? CrewXp Linux - Newbie 3 05-09-2011 03:56 PM
secure administrator login only - https/ssl - help plz Joshwaaa Linux - Server 3 07-21-2010 06:02 AM
how to create sftp user only in red hat 4 not ftp user ..only sftp user princeu28 Linux - Newbie 1 10-14-2008 09:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:34 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