Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to create a completely hidden user in Lion that can only login via SSH, or at a minimum cannot login via the login window.

I am trying to create a user for remote system management. I have used the excellent CreateLionUser.pkg included in instaDMG to create hidden admin user, but the account still shows up in the Users & Groups preference pane. Additionally the login window lists Other... as a login option.

I am trying to prevent this option from being seen by the end user, since it should not be used to login locally to the system. Also, since this is for patching and other system management I don't want the user to accidentally delete the user from the preference pane.

In previous versions of OSX if you set the UID to under 100 the account was ignored. This trick, and others, do not seem to be working in Lion.

share|improve this question
up vote 1 down vote accepted

for the hiding of the Other option:

sudo defaults write /Library/Preferences/ SHOWOTHERUSERS_MANAGED -bool false

From here.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .