The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > OS X (Apple)
.
google unix.com



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 07:08 PM
Change Account to not lock account if password expires stringzz UNIX for Dummies Questions & Answers 1 04-04-2008 05:31 PM
Emacs in terminal for OS X Leopard USFstudent OS X (Apple) 1 04-04-2008 09:42 AM
Setting an account to be a non-login account automatically? LordJezo UNIX for Dummies Questions & Answers 0 06-16-2006 09:28 AM
Hidding Files in UNIX smdakram UNIX for Dummies Questions & Answers 3 01-13-2002 09:05 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 4.00 average. Display Modes
  #8 (permalink)  
Old 04-26-2008
unimachead unimachead is offline
Registered User
  
 

Join Date: Mar 2008
Location: U.S.
Posts: 24
Interesting redirection, I'd like to experiment with it and do a little more tweaking. thanks so much for your input. In addition to the Admin Account, I'm also thinking about the guest account which is below 200. Disabling it is not enough, it's a nice addition to Apple's new OS, but this poses possible questions if not regulated in a controlled environment.
  #9 (permalink)  
Old 02-12-2009
digitol digitol is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 1
STEP BY STEP: Creating hidden user OS X Leopard

welcome

- Hope this helps out.
  #10 (permalink)  
Old 05-10-2009
LtFawkes78 LtFawkes78 is offline
Registered User
  
 

Join Date: May 2009
Posts: 1
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!
  #11 (permalink)  
Old 2 Weeks Ago
unimachead unimachead is offline
Registered User
  
 

Join Date: Mar 2008
Location: U.S.
Posts: 24
Quote:
Originally Posted by LtFawkes78 View Post
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!
You'll need to re-image more than likely. once the UID has been lowered (and machine restarted), the change is propagated throughout the OS and it can't be restored unless you re-image the HD with the OS again and start fresh. Don't perform this mod unless you're serious about managing your administrator account.
  #12 (permalink)  
Old 1 Week Ago
[MA]Flying_Meat [MA]Flying_Meat is offline
Registered User
  
 

Join Date: Sep 2002
Location: San Fran
Posts: 130
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).
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0