Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'How to find users below 501?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How to find users below 501?
Authored by: enigmamf on Aug 29, '03 01:37:45PM

OS-X will consult the entries in the NetInfo database, which you can look at using the NetInfo utility in /Applications/Utilities/NetInfo . Click on "Users", and you will get a list of users; click on any user to see various information, such as UID, home directory, default shell. Any user (such as automatic users generated to run a particular task, e.g. the 'www' pseudo-user) who should not be able to log in should have "/dev/null" for a shell.



[ Reply to This | # ]
How to find users below 501?
Authored by: matsur on Aug 29, '03 05:37:04PM

Actually, I was told that setting a shell as /dev/null may pose security risks, so the correct way to do it is to set it to /usr/bin/false or /sbin/nologin. IANAUSA (I Am Not A Unix Systems Administrator), so take it with a grain of salt.



[ Reply to This | # ]