Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* changing user number
@ 1996-08-01  4:00 Don H. Olive
  1996-08-02  4:00 ` Robert Hermsen
  0 siblings, 1 reply; 2+ messages in thread
From: Don H. Olive @ 1996-08-01  4:00 UTC (permalink / raw)



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.
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 changed:

news:*:17:8:USENET News System:/usr/spool/netnews:

To:

news:*:8:8:USENET News System:/usr/spool/netnews:

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: changing user number
  1996-08-01  4:00 changing user number Don H. Olive
@ 1996-08-02  4:00 ` Robert Hermsen
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Hermsen @ 1996-08-02  4:00 UTC (permalink / raw)



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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-08-02  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-01  4:00 changing user number Don H. Olive
1996-08-02  4:00 ` Robert Hermsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox