An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Topic Options
#10274 - 05/31/10 05:54 AM Automatic Login no longer works
Pendragon Offline


Registered: 08/04/09
Loc: Georgetown, Texas, USA
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

Top
#10275 - 05/31/10 07:19 AM Re: Automatic Login no longer works [Re: Pendragon]
jchuzi Offline


Registered: 08/04/09
Loc: New York State
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

OS 10.14.3, 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

Top
#10277 - 05/31/10 08:54 AM Re: Automatic Login no longer works [Re: jchuzi]
Pendragon Offline


Registered: 08/04/09
Loc: Georgetown, Texas, USA
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

Top
#10281 - 05/31/10 09:56 AM Re: Automatic Login no longer works [Re: Pendragon]
Virtual1 Offline


Registered: 08/04/09
Loc: Iowa
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

Top
#10283 - 05/31/10 12:50 PM Re: Automatic Login no longer works [Re: Pendragon]
jchuzi Offline


Registered: 08/04/09
Loc: New York State
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

OS 10.14.3, 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

Top
#10284 - 05/31/10 12:53 PM Re: Automatic Login no longer works [Re: Virtual1]
jchuzi Offline


Registered: 08/04/09
Loc: New York State
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

OS 10.14.3, 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

Top
#10287 - 05/31/10 05:23 PM Re: Automatic Login no longer works [Re: jchuzi]
dkmarsh Offline

Moderator

Registered: 08/04/09

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

Top
#10300 - 06/01/10 02:13 AM Re: Automatic Login no longer works [Re: dkmarsh]
jchuzi Offline


Registered: 08/04/09
Loc: New York State
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

OS 10.14.3, 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

Top
#10301 - 06/01/10 02:50 AM Re: Automatic Login no longer works [Re: jchuzi]
dkmarsh Offline

Moderator

Registered: 08/04/09

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

Top
#10318 - 06/01/10 11:19 AM Re: Automatic Login no longer works [Re: jchuzi]
Virtual1 Offline


Registered: 08/04/09
Loc: Iowa
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

Top
#10322 - 06/01/10 01:13 PM Re: Automatic Login no longer works [Re: Virtual1]
jchuzi Offline


Registered: 08/04/09
Loc: New York State
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

OS 10.14.3, 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

Top
#10333 - 06/01/10 10:45 PM Re: Automatic Login no longer works [Re: jchuzi]
ganbustein Offline


Registered: 08/04/09
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.

Top
#10337 - 06/02/10 02:25 AM Re: Automatic Login no longer works [Re: ganbustein]
jchuzi Offline


Registered: 08/04/09
Loc: New York State
Great tip! I'll have to try it sometime. Still, for my level of "expertise", it seems easier to just change the password.
_________________________
Jon

OS 10.14.3, 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

Top
#10339 - 06/02/10 02:36 AM Re: Automatic Login no longer works [Re: jchuzi]
artie505 Online


Registered: 08/04/09
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

Top
#10344 - 06/02/10 03:49 AM Re: Automatic Login no longer works [Re: artie505]
jchuzi Offline


Registered: 08/04/09
Loc: New York State
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

OS 10.14.3, 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

Top
#10354 - 06/02/10 06:02 PM Re: Automatic Login no longer works [Re: jchuzi]
Virtual1 Offline


Registered: 08/04/09
Loc: Iowa
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

Top
#10360 - 06/02/10 09:43 PM Re: Automatic Login no longer works [Re: jchuzi]
Hal Itosis Offline


Registered: 09/03/09
Loc: 10.6.8 (build 10K549)
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.

Top
#10361 - 06/02/10 10:03 PM Re: Automatic Login no longer works [Re: Virtual1]
Hal Itosis Offline


Registered: 09/03/09
Loc: 10.6.8 (build 10K549)
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.

Top
#10374 - 06/03/10 09:46 AM Re: Automatic Login no longer works [Re: Hal Itosis]
Virtual1 Offline


Registered: 08/04/09
Loc: Iowa
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

Top

Moderator:  alternaut, dkmarsh, joemikeb