Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have an account on my OS X Mavericks system that I want to disable so it cannot be used for login. I would not like to delete the account permanently but rather disable it temporarily.

I believe that this was possible in Lion – but maybe my memory plays tricks on me?

share|improve this question

2 Answers 2

up vote 7 down vote accepted

You can disable a user account by setting their shell to /usr/bin/false.

Either run chsh -s /usr/bin/false <username>, or change it in Users & Groups → Advanced Options. To change it back, run chsh -s /bin/bash <username>.

share|improve this answer
I was aware of this trick, but does it also apply to GUI logins? –  mgd Jun 16 '14 at 12:18
@mgd Yes it does :) –  grgarside Jun 16 '14 at 12:19

For the beginners and mac newbies follow this detailed guide


share|improve this answer
Welcome to Ask Different! While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  grgarside Jan 1 at 15:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.