Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Feb 2001 16:32:26 -0500
From:      "gerald stoller" <gerald_stoller@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   UID at login time
Message-ID:  <F244eUBUhr3ukkwu1Bt0000291f@hotmail.com>

index | next in thread | raw e-mail

     I installed  FreeBSD 4.2  a few weeks ago, but unfortunately I didn't 
get some stuff that I expected even though I asked for the  X-KERN-Developer 
  download (from the  CDROM ).  When I installed  FreeBSD 3.3  (over a year 
ago) I believe that I got the  pdksh  downloaded from the  CDROM .
     I created two standard user accounts for me, which had the  UIDs  1001  
&  1002 .  Recently, trying to the other stuff that I wanted ( pdksh ), I 
ran a  /stand/sysinstall  on top of my previous installation.  This 
(somewhat) wiped out my accounts, so I used  adduser  to make one standard 
user account for me, but its  UID  was assigned  1000 , ergo I couldn't 
write to the files that I had created earlier.  To fix this, I went into  
/etc/passwd  and changed my  UID  there from  1000  to  1001 .  This doesn't 
seem to work, when I do a  ps  it shows my  UID  to be  1000 .  From where 
does the login code get the user's  UID ?  What else would I have to fix so 
that my  UID  will always be recognized as  1001 ?  The next time that I use 
  adduser , I expect it will try to assign  UID 1001 , where do I go to bump 
that up so the next time it will try to assign  UID 1002 ?
     Is there documentation on this that I have missed, and if so, where is 
it?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F244eUBUhr3ukkwu1Bt0000291f>