If you would like to keep a specific user account more private, you can do so by removing it from the log-in window in OS X. When you create a user account in OS X, it will by default show as as a clickable icon in the log-in screen; however, there are ways you can hide a user account, if desired. For example, if you would like to keep all accounts on your system as managed and restricted accounts, then you can keep your administrative account from showing up in the log-in window.
There are several ways to do this:
- Require name and password at log-on
The first and foremost is to forgo using a graphical approach to account identification at the log-in window. This means that people will have to type their usernames and passwords to authenticate instead of clicking their account icons and then authenticating. While this will serve to keep user accounts hidden, it does add a small inconvenience for users. To do this, simply check the “Name and password” option in the “Login Options” section of the Users & Groups system preferences. - Set the UID to 1000
The next option is to set the user’s ID to 1000. In OS X, an account with UID 1000 will not show at the log-in window, so you can select one to use and set its ID so it will not display. To do this, go to the Users & Groups system preferences, authenticate, and then right-click an account to select the advanced options. In here, you should see a set of fields with some details about the account, such as its home folder, name aliases, and its UID. Simply change the UID value for the account to 1000, apply the changes, and the account should no longer show up at the log-in screen. - Specifically hide users
The OS X log-in window supports an option to hide specific accounts; however, this is not configurable from the OS X system preferences. Instead, you will need to use the following Terminal command to target specific usernames to hide (note this command may span multiple lines here, but should be a single line entered in the Terminal, with a single space between “HiddenUsersList,” “-array-add,” and the specified user names): - To do this, open the Terminal and copy and paste the above command, changing the “user1” and “user2” components to the short usernames of the accounts you want to hide (you can specify one or more accounts, separated by spaces). When you execute the command, you will be prompted for your password, which will not show when typed. Note that the “sudo” command will only run from administrative accounts.
Once usernames have been added, you can add more by repeating the above command. You can remove the list of usernames with the following command:
This will revert this specific log-in window setting to its default by removing the list instead of simply clearing the usernames in it.
While hiding the user account from the log-in window is one step to hiding an account, keep in mind that its home folder will still be in the /Users directory by default. You can move this to a hidden location (such as the hidden “/var” folder on the system, or even a custom hidden folder) to keep it sequestered. Additionally, you can simply hide the home folder for the account by targeting it with the following command (replace “USERNAME” with the name of the home folder to be hidden):
Awesome! Its actually awesome paragraph, I have got much
clear idera about from this article.
You really make it seem so easy with your presentation but I find this matter to be really something that I think
I would never understand. It seems too complicated and very broad for me.
I am looking forward for your next post, I will try to
get the hang of it!
Great goods from you, man. I’ve understand your stuff
previous to and you are just too excellent. I actually like what you have acquired here, certainly like what you are stating and the way in which you say it.
You make it entertaining and you still take care of
to keep it sensible. I can’t wait to read far more
from you. This is actually a terrific website.
Way cool! Some extremely valid points! I appreciate you penning this write-up
and the rest of the website is also really good.
Very soon this website will be famous among all blog visitors,
due to it’s good content
Heya! I just wanted to ask if you ever have any issues with hackers?
My last blog (wordpress) was hacked and I ended up losing months of hard
work due to no data backup. Do you have any methods to
prevent hackers?
Simply desire to say your article is as astonishing. The clarity to your post is just excellent and that i could
assume you are knowledgeable on this subject.
Fine along with your permission allow me to seize your
feed to stay updated with forthcoming post. Thank you 1,000,000 and please continue the rewarding work.
Wow! After all I got a webpage from where I be capable of acfually obtain
useful information concerning my study and knowledge.
Marvelous, what a blog it is! This web site gives valuable data
to us, keep it up.
Pretty nice post. I just stumbled upon your weblog and wanted to say that I’ve
really enjoyed browsing your blog posts. In any case I will be subscribing to your feed
and I hope you write again very soon!
What’s Happening i’m new to this, I stumbled upon this I’ve found It absolutely useful
and it has helped me out loads. I am hoping to give a contribution
& help other customers like its aided me. Good job.
Keep this going please, great job!
Thanks very interesting blog!
For hottest news you have to go to see web and on internet
I found this website as a most excellent
web site for hottest updates.
Does your blog have a contact page? I’m having a tough time locating it but,
I’d like to send you an e-mail. I’ve got some suggestions for
your blog you might be interested in hearing. Either way, great site and I look forward to seeing it expand over
time.
Right here is the perfect web site for everyone who would
like to understand this topic. You know so much its almost tough to argue
with you (not that I personally would want to…HaHa).
You definitely put a new spin on a subject which has been discussed for ages.
Wonderful stuff, just great!
I am extremely impressed with your writing skills and also with the layout on
your blog. Is this a paid subject or did you modify it yourself?
Either way stay up the excellent high quality writing,
it’s uncommon to look a nice blog like this one today..
I’m truly enjoying the design and layout of your
website. It’s a very easy on the eyes which makes it much more enjoyable for
me to come here and visit more often. Did you hire out a designer to create your
theme? Fantastic work!
Hi there! Do you use Twitter? I’d like to follow you if that would be ok.
I’m absolutely enjoying your blog and look forward to new updates.
I have been surfing the net more than 2 hours this
morning, yet I never found any interesting post like yours.
It is pretty much well written enough for me.
In my view, if all website owners and writters made useful posts as you did, the web will be
much more useful than it is currently.