From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,76800b9a2338fd83 X-Google-Attributes: gidf678f,public From: hermsen@worldaccess.nl (Robert Hermsen) Subject: Re: changing user number Date: 1996/08/02 Message-ID: #1/1 X-Deja-AN: 171552171 references: <4tr1dn$i2e@ns.oar.net> organization: World Access, the easy way to Internet newsgroups: comp.unix.osf.misc Aan 1-08-96 21:43, in bericht <4tr1dn$i2e@ns.oar.net>, Don H. Olive schreef: > I'm setting up a news spool area on a digital unix box. This area > will be shared using nfs with severl other machines on our network. We have a similar situation using a DEC2100 and a Ultrix-machine > I'm having some problems with file permissions however. The problem > is that the user news has a different uid on each machine. How can I > change the uid of a user after he has been created? Is it simply a > matter of editing the passwd file? I don't think its that easy > because I tried it and it didn't work. > I too tried it, and it did work indeed! > > I changed: > > news:*:17:8:USENET News System:/usr/spool/netnews: > > To: > > news:*:8:8:USENET News System:/usr/spool/netnews: Did you change the line, or copy it? That really matters! > > On the second machine the uid is also 8. > > After I made this change and did a chown news /usr/spool/news/*, I > looked at the owner of the file and it still showed up as 17 on the > other machine. > > I'm sure this is done all the time so its just another file I need to > look at. > > Help appreciated. > -- > Don H. Olive, Physics Department don@campbellsvil.edu > Campbellsville University http://www2.campbellsvil.edu/~don > CPO 1265, One University Drive +1.502.789.5243 > voice/+1.502.789.5170 fax > Campbellsville KY, 42718 USA PGP: finger > don@cygnus.campbellsvil.edu I wonder what went wrong in your situation, it worked well here, so edditting /etc/passwd is the right solution.