How to REQUIRE a user to Login at boot

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Trainingwheels

How to REQUIRE a user to Login at boot

Post by Trainingwheels »

Hi.

I have noticed that Linux Mint boots immediately to the desktop. How can I set it up to boot to a Log In screen which demands a user name and password?

Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
remoulder
Level 17
Level 17
Posts: 7621
Joined: Fri May 09, 2008 1:14 pm

Re: How to REQUIRE a user to Login at boot

Post by remoulder »

Are you referring to a live cd/dvd? If so then this is how it is meant to work, you cannot change the login. If you mean an installed system then you have to disable automatic login for the user in system settings.
[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
klick

Re: How to REQUIRE a user to Login at boot

Post by klick »

I'm seeing the same thing on my Mint 14 Cinammon HD install. I have two accounts; an admin account and a limited account. I checked the "users" in System Tools and both display "Off" for automatic login. But, when I boot the system, it automatically sends me to the admin account. I can get into the user account from the admin account, but that's not the best or most expedient way to do it.

For safety's sake, I would rather log into and work from a limited account. Ideas?
DrHu

Re: How to REQUIRE a user to Login at boot

Post by DrHu »

The first created account isn't a normal user, it is part of an admin group now part of the sudo group (a groups change for the desktop (OS)..))

So try creating another new user and seeing that it should require a logon as part of the desktop load sequence..
--and let us know if that works
  • If it doesn't, show us the settings for that user..
    --then we'll see what might be your problem!
  • limited account is a windows term
    --if terminology matters much
klick

Re: How to REQUIRE a user to Login at boot

Post by klick »

OK, I added another standard account with a password, auto login says "off" for this account and the others, too. I restarted the computer and it went directly to the admin account.

I recall during installation, there was an option for logging in automatically; I selected that. I wonder if thay selection might be the cause of the problem?

What settings would you need to know for the user account?
TheDynamicHamza21
Level 5
Level 5
Posts: 798
Joined: Thu Oct 04, 2012 7:24 pm
Location: California
Contact:

Re: How to REQUIRE a user to Login at boot

Post by TheDynamicHamza21 »

On MATE using MDM (I'm unsure what Cinnnamon uses) but in usr/share/mdm/defaults.conf file it reads:

[daemon]
# Automatic login, if true the first attached screen will automatically logged
# in as user as set with AutomaticLogin key.
AutomaticLoginEnable=false
AutomaticLogin=
Check to see if your file says "true" instead of "false". changing it to false should work.
Linux Registered User: # 573034

Hamza21.com
klick

Re: How to REQUIRE a user to Login at boot

Post by klick »

TheDynamicHamza21 wrote:On MATE using MDM (I'm unsure what Cinnnamon uses) but in usr/share/mdm/defaults.conf file it reads:

[daemon]
# Automatic login, if true the first attached screen will automatically logged
# in as user as set with AutomaticLogin key.
AutomaticLoginEnable=false
AutomaticLogin=
Check to see if your file says "true" instead of "false". changing it to false should work.

Thanks for the reply; here's what I found:

# Automatic login, if true the first attached screen will automatically logged
# in as user as set with AutomaticLogin key.
AutomaticLoginEnable=false
AutomaticLogin=

It would appear that since the AutoLoginEnable = false, it shouldn't be logging in automatically. Hmmm.......
klick

Re: How to REQUIRE a user to Login at boot

Post by klick »

This thread has gotten a bit quiet, so I'll bump it to see if anyone has any ideas. If not, I guess I'll reinstall.

Anyone?
eanfrid

Re: How to REQUIRE a user to Login at boot

Post by eanfrid »

You should not modify anything in /usr/share. It is a very wrong way to set system parameters.

Current system parameters are all under /etc. Then you only have to modify "/etc/mdm/mdm.conf" by adding "AutomaticLoginEnable=false" in the "[daemon]" section. And there is even a graphical way to do this in the MDM Login manager.

Why would you reinstall your OS because a single line of text is missing ? :shock: ... an old-time Windows troubleshooting method :D ?
klick

Re: How to REQUIRE a user to Login at boot

Post by klick »

eanfrid wrote:You should not modify anything in /usr/share. It is a very wrong way to set system parameters.

Current system parameters are all under /etc. Then you only have to modify "/etc/mdm/mdm.conf" by adding "AutomaticLoginEnable=false" in the "[daemon]" section. And there is even a graphical way to do this in the MDM Login manager.

Why would you reinstall your OS because a single line of text is missing ? :shock: ... an old-time Windows troubleshooting method :D ?
OK, I found the /etc/mdm/mdm.conf, but it is labeled "read only" and it won't allow me to make changes. I didn't fully undestand the verbiage at the top of the file; could someone give me some info on what to do next?

Thanks!
DrHu

Re: How to REQUIRE a user to Login at boot

Post by DrHu »

OK, so /etc/.. is a system area file and needs sudo (in a terminal) or gksudo prefix before selection command for the GUI settings in oreder to write changes to a file (edit..)
https://en.wikipedia.org/wiki/Filesyste ... y_Standard
http://www.ibm.com/developerworks/linux ... ml?ca=dat-
--Linux file system and contents
  • There are plenty of information about Linux, its files and various users commands (bash: terminal) and usually the distribution guides/tutorials/forums or help documents to enable most users to find their way around the system and its OS operations..
    --and it is not so different from either the Windows OS or Apple OSX desktops as to be unfathomable..(at least as I see it)
http://www.linuxmint.com/rel_nadia_whatsnew.php
  • I am sure you will be able to find the system settings, I think it is control but it doesn't really matter since flipping around the menus just like any other windows OS user will locate the appropriate program or file location for you, then it is a matter of finding the part of the control panel or settings to use to change user login process etc..
klick

Re: How to REQUIRE a user to Login at boot

Post by klick »

I got it figured out. Thanks for all the help.

Edited to add: Here's how it got fixed: Menu> System Tools> Administration> Login Window> Security Tab.

The User Accounts section had login controls that, apparently, didn't work.
Locked

Return to “Beginner Questions”