An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Previous Thread
Next Thread
Print Thread
Automatic Login no longer works
#10274 05/31/10 12:54 PM
Joined: Aug 2009
OP Offline

Joined: Aug 2009
My System Preferences/Accounts/Login Options indicates that I have Automatic Login.

But when I restart, I am always asked for my password.

How do I fix this?


Harv
27" i7 iMac (10.13.6), iPhone Xs Max (12.1)

Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: Automatic Login no longer works
Pendragon #10275 05/31/10 02:19 PM
Joined: Aug 2009
Likes: 7
Online

Joined: Aug 2009
Likes: 7
There are two preference files that could be involved, com.apple.loginitems.plist and com.apple.loginwindow.plist. Both are located in ~/Library/Preferences. Move one (or both) to the desktop, then restart. Reset your Login Options preferences and see if that solves it. If so, trash the bad boy(s). If not, put it back. I mentioned both of these because I'm not sure which one controls the preference that you are having trouble with.


Jon

macOS 11.7.10, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P600, Photoshop CC, Lightroom CC, MS Office 365
Re: Automatic Login no longer works
jchuzi #10277 05/31/10 03:54 PM
Joined: Aug 2009
OP Offline

Joined: Aug 2009
Thanks Jon.

One of those plists did it. As I trashed them both, I am only 50% sure of which one was corrupt.

Usually, I am 95% sure of my actions, and even that is only 2% of the time.


Harv
27" i7 iMac (10.13.6), iPhone Xs Max (12.1)

Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: Automatic Login no longer works
Pendragon #10281 05/31/10 04:56 PM
Joined: Aug 2009
Offline

Joined: Aug 2009
another solution to that may have been to simply turn it off and turn it back on again.

If you change your account password, I think you have to do that to get it up to date with the new password.

Apple is using "security by obscurity" to hide your password for auto login, so don't expect any inside help anywhere. They don't want anyone to really understand how it works.


I work for the Department of Redundancy Department
Re: Automatic Login no longer works
Pendragon #10283 05/31/10 07:50 PM
Joined: Aug 2009
Likes: 7
Online

Joined: Aug 2009
Likes: 7
You're welcome, Harv. While most people tend to think that those plists had a 50-50 chance of being correct, the actual numbers are 60-60. grin


Jon

macOS 11.7.10, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P600, Photoshop CC, Lightroom CC, MS Office 365
Re: Automatic Login no longer works
Virtual1 #10284 05/31/10 07:53 PM
Joined: Aug 2009
Likes: 7
Online

Joined: Aug 2009
Likes: 7
Originally Posted By: Virtual1
another solution to that may have been to simply turn it off and turn it back on again. If you change your account password, I think you have to do that to get it up to date with the new password.
Not in my experience. I keep my main account with a blank password and change it to an actual password if I have to run sudo. I change it back to a blank space when I'm finished.


Jon

macOS 11.7.10, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P600, Photoshop CC, Lightroom CC, MS Office 365
Re: Automatic Login no longer works
jchuzi #10287 06/01/10 12:23 AM
Joined: Aug 2009
Likes: 3
Moderator
Online
Moderator

Joined: Aug 2009
Likes: 3

Actually, I think it's that if you change your account password using the Reset Password feature while booted from your install disc, you may need to toggle Automatic Login off and on again as per Virtual's suggestion.

See Automatic login doesn't work after a password reset (Mac OS X).



dkmarsh—member, FineTunedMac Co-op Board of Directors
Re: Automatic Login no longer works
dkmarsh #10300 06/01/10 09:13 AM
Joined: Aug 2009
Likes: 7
Online

Joined: Aug 2009
Likes: 7
That link refers to 10.0 - 10.4. No mention is made of 10.5 or 10.6 so I don't know if the information applies to those OSs (and I'm not inclined to experiment).


Jon

macOS 11.7.10, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P600, Photoshop CC, Lightroom CC, MS Office 365
Re: Automatic Login no longer works
jchuzi #10301 06/01/10 09:50 AM
Joined: Aug 2009
Likes: 3
Moderator
Online
Moderator

Joined: Aug 2009
Likes: 3

I have no idea whether or not the information in the article is applicable to Snow Leopard; I pointed it out simply because I suspect that's what Virtual was thinking of when he referred to changing passwords.

BTW, the article does apply to Leopard:

Originally Posted By: support.apple.com
Products Affected
Mac OS X 10.4, Mac OS X 10.3, Mac OS X 10.2, Mac OS X 10.1, Mac OS X 10.0,
Mac OS X 10.5

(Notice that the article was last modified July 29, 2008, over a year prior to the release of Snow Leopard.)



dkmarsh—member, FineTunedMac Co-op Board of Directors
Re: Automatic Login no longer works
jchuzi #10318 06/01/10 06:19 PM
Joined: Aug 2009
Offline

Joined: Aug 2009
and change it to an actual password if I have to run sudo.

Probably a simpler method is to set up a second admin account (always good to have a second admin acct on the computer anyway) and if you need to sudo something, LOGIN (otherusername) and then you can sudo, no need to shuffle passwords around.


I work for the Department of Redundancy Department
Re: Automatic Login no longer works
Virtual1 #10322 06/01/10 08:13 PM
Joined: Aug 2009
Likes: 7
Online

Joined: Aug 2009
Likes: 7
Yes, I already have such an account. There are times, however, when I need to run sudo from my main account. Example: I was following Hal Itosis's advice and needed to post the results after running sudo. It was a simple matter to copy and paste the message from Terminal because I was in the main account. This would not have been possible if I had to do it from another account (unless, of course, I accessed his reply from there but it seems more convenient to simply set up a password).


Jon

macOS 11.7.10, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P600, Photoshop CC, Lightroom CC, MS Office 365
Re: Automatic Login no longer works
jchuzi #10333 06/02/10 05:45 AM
Joined: Aug 2009
Offline

Joined: Aug 2009
Originally Posted By: jchuzi
There are times, however, when I need to run sudo from my main account.

Easy! Suppose you have an admin account named "super" but you're logged in as your ordinary user "joe". You need to run sudo without using fast user switching or anything like that that would swap your GUI out from under you. In that case:

$ id -un
joe
$ su -l super
password:
$ id -un
super
$ sudo id -un
password:
root
$ logout
$ id -un
joe
$

I do that all the time. Even though you've got a copy of bash running as your admin, it's still connected to your login Mach namespace, and you can freely copy and paste between windows. You can even (as I do at the moment) have two Terminal windows open, one running as admin and the other as non-admin. Or even a third running as root, through the magic of sudo -s.

Re: Automatic Login no longer works
ganbustein #10337 06/02/10 09:25 AM
Joined: Aug 2009
Likes: 7
Online

Joined: Aug 2009
Likes: 7
Great tip! I'll have to try it sometime. Still, for my level of "expertise", it seems easier to just change the password.


Jon

macOS 11.7.10, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P600, Photoshop CC, Lightroom CC, MS Office 365
Re: Automatic Login no longer works
jchuzi #10339 06/02/10 09:36 AM
Joined: Aug 2009
Likes: 15
Online

Joined: Aug 2009
Likes: 15
Out of curiosity, Jon, why are you jumping through hoops rather than just having established a permanent password?


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: Automatic Login no longer works
artie505 #10344 06/02/10 10:49 AM
Joined: Aug 2009
Likes: 7
Online

Joined: Aug 2009
Likes: 7
I am, for all intents and purposes, the only user of the computer. I find it much easier to simply press Return when I'm asked to authenticate with a password. I use sudo so rarely that it would be more trouble than it's worth to establish a permanent password.

Actually, my wife uses the computer occasionally but only for email. She neither knows nor wants to know how things work. If she runs into a snag, she calls for me to get her out of it.


Jon

macOS 11.7.10, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P600, Photoshop CC, Lightroom CC, MS Office 365
Re: Automatic Login no longer works
jchuzi #10354 06/03/10 01:02 AM
Joined: Aug 2009
Offline

Joined: Aug 2009
I rarely have to enter the password on my mac. That's one nice advantage of how the system is engineered, most things have a "sensible" level of protection, and you are generally only obligated to provide your password when it makes sense to do so. (unlike some others I can think of, "mouse has moved - Cancel or Allow?")

But on my service machines, I would constantly be authenticating due to the nature of what I have to do all day long. So for those we have autologin as root. ("in for a penny, in for a pound")


I work for the Department of Redundancy Department
Re: Automatic Login no longer works
jchuzi #10360 06/03/10 04:43 AM
Joined: Sep 2009
Offline

Joined: Sep 2009
Originally Posted By: jchuzi
I am, for all intents and purposes, the only user of the computer. I find it much easier to simply press Return when I'm asked to authenticate with a password. I use sudo so rarely that it would be more trouble than it's worth to establish a permanent password.

Actually, my wife uses the computer occasionally but only for email. She neither knows nor wants to know how things work. If she runs into a snag, she calls for me to get her out of it.

Considering the voluminous quantity of posts under your belt, I'd guess that tapping on the keyboard is not an activity to which you're adverse. There aren't that many occasions (per any given day) where passwords are required. Though the person behind the keyboard may feel like the "only one" using it... being connected to the Internet does add another dimension to that notion. Not having any password whatsoever (as opposed to a simple JKL<return> perhaps) might be taking the concept of user-friendly to a careless extreme... just to save a few seconds per day.

Re: Automatic Login no longer works
Virtual1 #10361 06/03/10 05:03 AM
Joined: Sep 2009
Offline

Joined: Sep 2009
Originally Posted By: Virtual1
But on my service machines, I would constantly be authenticating due to the nature of what I have to do all day long. So for those we have autologin as root. ("in for a penny, in for a pound")

Not disagreeing here, but I think that the sudo -s method (as ganbustein mentioned) is a fairly painless way to get almost all the same benefits, with far less potential for a (GUI) disaster.

It does seem odd I'll admit that a program such as DiskWarrior asks for a password at every launch, when there are (acceptable) methods to have it retain its authorization across launches. They should offer it as an option anyway.

Re: Automatic Login no longer works
Hal Itosis #10374 06/03/10 04:46 PM
Joined: Aug 2009
Offline

Joined: Aug 2009
It does seem odd I'll admit that a program such as DiskWarrior asks for a password at every launch, when there are (acceptable) methods to have it retain its authorization across launches. They should offer it as an option anyway.

Some apps do that, cocktail comes immediately to mind as does Spotless. DW just happens not to. In all three cases, it's always required one way or another.

Tho some apps won't even run properly if you are logged in as root, which I find funny. (and there's still that quirky "can't Save As PDF when logged in as root)


I work for the Department of Redundancy Department

Moderated by  alternaut, dkmarsh, joemikeb 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.4.33 Page Time: 0.492s Queries: 52 (0.026s) Memory: 0.7993 MB (Peak: 1.6926 MB) Data Comp: Zlib Server Time: 2024-03-28 21:01:37 UTC
Valid HTML 5 and Valid CSS