Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Where is my inforation stored in?

Where is my inforation stored in?
Thread Tools
Junior Member
Join Date: Jul 2005
Location: N.Ireland
Status: Offline
Reply With Quote
Oct 29, 2005, 05:46 AM
 
In Unix, there is a file /etc/passwd, which stores user information such as user name, password and lognin shell. (There is a shadow file as well).

However, I couldn't find my user inforation in /etc/passwd on Mac. Can anyone explain to me where and how Mac houses my username and passwd?

Many thanks.
     
Junior Member
Join Date: Sep 2005
Location: J a p a n
Status: Offline
Reply With Quote
Oct 29, 2005, 09:04 AM
 
You can use NetInfo Manager to change it, among other things.

I believe OS X does things with XML files, though don't quote me. I'm a Linux convert and I've been confused by things being moved around as well.
     
Grizzled Veteran
Join Date: Apr 2002
Location: case.edu
Status: Offline
Reply With Quote
Oct 29, 2005, 12:14 PM
 
Yes, it's in the NetInfo database (which is stored in the Berkeley DB binary format, I believe). You can change the information through OS X's normal channels, through command line tools like passwd, chsh, and chfn, or in the NetInfo Manager app.

pb 1440x960 | 1.67, 1.5, 128, 80 | leopard
     
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status: Offline
Reply With Quote
Oct 30, 2005, 01:08 AM
 
Originally Posted by Tesseract
Yes, it's in the NetInfo database (which is stored in the Berkeley DB binary format, I believe). You can change the information through OS X's normal channels, through command line tools like passwd, chsh, and chfn, or in the NetInfo Manager app.
niutil, nicl, or dscl are all command line utilities that can be used to modify netinfo or directory services. The app is a bit easier, though.

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:19 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2