*BSD News Article 24939


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!network.ucsd.edu!ames!elroy.jpl.nasa.gov!usc!math.ohio-state.edu!news.cyberstore.ca!nntp.cs.ubc.ca!destroyer!news.itd.umich.edu!news.itd.umich.edu!not-for-mail
From: wes@terminator.rs.itd.umich.edu (Wesley Craig)
Newsgroups: umich.unix,comp.os.386bsd.questions
Subject: Re: HELP!!!! (permissions and such Messed)
Date: 12 Dec 1993 12:18:24 -0500
Organization: University of Michigan
Lines: 16
Message-ID: <2efjp0$f54@terminator.rs.itd.umich.edu>
References: <2eeo3r$c1t@terminator.rs.itd.umich.edu>
NNTP-Posting-Host: terminator.rs.itd.umich.edu

Alex Tang <altitude@css.itd.umich.edu> wrote:
>Yeah, I thought about that.  I'm wondering what database files are used
>by the system to recognize a user?  

Keep in mind, first, that it's all done as root.  That said, there is
/etc/passwd to get your login name, your uid, your gid, your home
directory, and your shell.  On some systems, your password is also
stored in the password file.  On newer systems, it's probably stored in
some other un-readable passwd file.

>If i do an ls -lg on my home dir, all the files come up with their uid
>and gid...not the respective names.  

What does "ls -lg /" print out?

:wes