|
|
How to find users below 501?
So the Accounts control panel will not show user accounts below 501. Seems a simple way for savvy unauthorized users to hide from the less-sophisticated the very knowledge of the former's account. (Especially if they set flags to make their account invisible in the Finder.) Is there a basic Unix command that lists all accounts (UID?) on a system -- preferably with information about what their level of system access is? TIA.
NetInfo Manager
On OS X, the user info is held in a database called netinfo. The application "Netinfo Manager" (in Applications/Utilities) can be used to look at the user info.
How to find users below 501?
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.
How to find users below 501?
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.
How to find users below 501?
Others have pointed you at using NetInfo to get this information. Here's the "basic UNIX command" that you were looking for that does the same thing: |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks 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.08 seconds |
|