From: hermsen@worldaccess.nl (Robert Hermsen)
Subject: Re: changing user number
Date: 1996/08/02 [thread overview]
Message-ID: <N.080296.131429.34@arh3-7.worldaccess.nl> (raw)
In-Reply-To: 4tr1dn$i2e@ns.oar.net
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.
prev parent reply other threads:[~1996-08-02 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-01 4:00 changing user number Don H. Olive
1996-08-02 4:00 ` Robert Hermsen [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox