LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mint 19.3 login only as user, not as administrator (https://www.linuxquestions.org/questions/linux-newbie-8/mint-19-3-login-only-as-user-not-as-administrator-4175669131/)

drownk 02-06-2020 06:53 PM

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.

rtmistler 02-06-2020 07:19 PM

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.

Soadyheid 02-06-2020 07:40 PM

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 :twocents:

Play Bonny!

:hattip:

vtel57 02-06-2020 07:58 PM

Quote:

Originally Posted by Soadyheid (Post 6087047)
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

drownk 02-06-2020 08:11 PM

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.

michaelk 02-06-2020 08:22 PM

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.

vtel57 02-06-2020 08:24 PM

Thank you @michaelk. That answered my question above. :)

drownk 02-06-2020 11:46 PM

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.

vtel57 02-07-2020 09:11 AM

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

Have a great weekend!

~Eric

rtmistler 02-07-2020 09:52 AM

Quote:

Originally Posted by drownk (Post 6087088)
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.

Soadyheid 02-07-2020 07:22 PM

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!

:hattip:


All times are GMT -5. The time now is 09:16 AM.