![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vi in Leopard | Gale Gorman | OS X (Apple) | 5 | 09-16-2008 08:08 PM |
| Change Account to not lock account if password expires | stringzz | UNIX for Dummies Questions & Answers | 1 | 04-04-2008 06:31 PM |
| Emacs in terminal for OS X Leopard | USFstudent | OS X (Apple) | 1 | 04-04-2008 10:42 AM |
| Setting an account to be a non-login account automatically? | LordJezo | UNIX for Dummies Questions & Answers | 0 | 06-16-2006 10:28 AM |
| Hidding Files in UNIX | smdakram | UNIX for Dummies Questions & Answers | 3 | 01-13-2002 09:05 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
|
|
||||
|
How to set it back?
This is going to sound ridiculous but I was testing on my first Mac and wanted to play around with this hidden user account feature. After following the notes on this thread and lowering the UID to below 500, I ran the terminal command stated above to add it to the Hidden list. Now, for the life of me, I can't figure out how to reverse the process so I can access the account again under Sys Preferences.
Any help would be greatly appreciated. I'm pulling my hair out in frustration. Thanks! |
|
||||
|
Quote:
|
|
||||
|
No need to reimage.
To reverse the situation, sudo defaults delete /Library/Preferences/com.apple.loginwindow Hide500Users This will make the account visible in the Accounts preference pane unless you had added the HiddenUsersList dealie someone else suggested, in which case: sudo defaults delete /Library/Preferences/com.apple.loginwindow HiddenUsersList should do the trick. Log in as a different admin (create one if necessary?) and control+click the previously hidden user icon in Accounts pref pane and change the user account ID, and/or home folder location. If you change the uid, you will need to chown the home folder to the new uid by: sudo chown <adminusername> /path/to/home/folder If you changed the home folder location, you'll either move the old home folder to the new location, or allow the system to create a new home folder when you log in as the previously hidden admin user (if you created a second admin account that you no longer need, delete the second admin account through Accounts pref pane) and dispose of the old home folder. I hope that's helpful. It can all be scripted also (though I doubt there would be much call for that). |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|