Hidden User

How to do make a User hidden?

Mac OS X (10.4.5)

Posted on Mar 29, 2006 6:26 AM

Reply
7 replies

Mar 29, 2006 8:29 AM in response to Graham K. Rogers

The best solution may depend on what you mean by "hidden", although in "TIger", the best may still not be what you are looking for.

Up to "Panther", any user with a uid less than 500 would be hidden from the "login window", "Accounts" pref pane, and the "Fast user switching" menu (if they weren't already logged in). This apparently no longer has the same effect in "Tiger".

In "Tiger", to prevent a user from appearing in the "Accounts" pref pane, set their uid to an available value less than 500. Because file ownership is based on uid, it will be necessary to adjust the ownership of all of their files as well.

To prevent the user from appearing in the "login window", their shortname must be added to the ' HiddenUsersList' array in the "com.apple.loginwindow.plist" file in the user's "/Library/Preferences" folder, as described by Guillaume O. at the macosxhints.com forum. For example, while logged in to an "admin" account, enter this command using "/Applications" > "Utilities" > "Terminal.app":<pre>defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array user1 user2</pre>However, this may cause the "Other…" user to appear in the "login window", and I'm not sure if it is possible to get rid of that...

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Hidden User

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.