|
|
10.4: Hide all low UID users from the login window
I had to do this the other day, but I went about it slightly differently: I opened /Applications/Utilities/Netinfo Manager, found the offending login item (postgres, as it turns out), created the property "passwd", and set its value to "*". Postgres does not show up on the login menu any more.
10.4: Hide all low UID users from the login window
Can you explain further what this actually does? It concerns me to add something called passwd with a value of "*" w/o knowing what it does/why the sysem ignores it in the login window.
10.4: Hide all low UID users from the login window
It's an olde worlde way of preventing a user from logging in. Bit of a hack IMO, but quite normal.
Another common method is to set the default login shell to /usr/bin/false I think this is mostly from the days when users were defined in the /etc/passwd file. The login window seems to respect this behaviour. You can see OSX's /etc/passwd equivalent by typing this in a Terminal window.
The second column is the password field. These are all asterisks in this output, but the ones that do not allow login will have a single *.
10.4: Hide all low UID users from the login window
The convention of having a '*' in the password entry to block logins, started back in the days when the actual encrypted passwd was stored in /etc/passwd.
10.4: Hide all low UID users from the login window
By disabling logins in this way, not only do you prevent someone from loging in via the login window, but they can't log in any other way (ssh, su, ...)
10.4: Hide all low UID users from the login window
You can use 'sudo -u username' instead of gatewaying through root. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.14 seconds |
|