* Re: Re: changing user number
[not found] <9608021920.AA00304@andromeda.campbellsvil.edu>
@ 1996-08-05 4:00 ` Robert Hermsen
0 siblings, 0 replies; only message in thread
From: Robert Hermsen @ 1996-08-05 4:00 UTC (permalink / raw)
Could it be possible that in your /etc/group file the group lp is present? In
that case you could try modifing this file too. Perhaps your swapping of uid's
for 'lp' and 'news' is hindered by /etc/group.
Aan 2-08-96 21:20, in bericht <9608021920.AA00304@andromeda.campbellsvil.edu>,
Don H. Olive <don@andromeda.campbellsvil.edu> schreef:
> You asked below if I changed the line or copied it? I'm not sure what
> you mean. There was already a user with uid 8, which is what news is
> on the ultrix box. So on the osf box, I swapped the uid's of the user
> 'lp' which was 8 and the user 'news' which was 17. As far as I could
> tell the user 'lp' doesn't own anything. I didn't swap the lines I
> just changed those two numbers.
>
> According to Robert Hermsen
> >
> > Aan 1-08-96 21:43, in bericht <4tr1dn$i2e@ns.oar.net>, Don H. Olive
> > <don@andromeda.campbellsvil.edu> 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.
> >
> >
>
>
> --
> 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
>
^ permalink raw reply [flat|nested] only message in thread