/usr/people

Tony Reynolds tony at tacky.cs.olemiss.edu
Thu Feb 21 07:09:13 AEST 1991


In article <9102130954.aa03988 at TBD2.BRL.MIL> glennrp at BRL.MIL (Glenn Randers-Pehrson, TBD|WMB) writes:
>
> > From: steve at CHAOS.OCEAN.FSU.EDU (Steve Van Gorder)
> > I just noticed by accident today that /usr/people is owned by guest !?!?  
> > This doesn't seem like a good idea to me. Shouldn't it be owned by root?
> > 
> > drwxr-xr-x  10 guest    guest        512 Feb 12 12:24 people
> > 
> > I have a 4D/20 running 3.3.1
>
>	Good grief.  I found the same situation.  It was on a system
>disc that I recently installed from scratch with the 3.3 installation
>tapes.  On another disc running 3.3.1, but originally delivered with 3.1F
>and then upgraded to 3.3, the ownership is "root".  On another system,
>delivered with 3.2, the ownership is "bin".  I presume under 4.0 "mail"
>will be the owner.
>
>...Glenn Randers-Pehrson <glennrp at brl.mil>

Well, you could easily get this by making the new user by hand.  This is
the steps to take to make this mistake: You gotta be root!

Add user to /etc/passwd
mkdir /user/people/newguy
cp <all your .login, etc files from a default account) .
(edit files)
(now for the magic step....)
chown .* newguy

.. refers to----> the parent directory, /usr/people!

Argh! My friend wound up owning /usr/people once, and went wild,
using chmod to change the priv. bits to 700, so we couldn't
get to our files.


Tony
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Okay-- so your mail is bouncing when you send to 4dsci1.ocis.olemiss.edu---
So I forwarded my mail from tacky.cs.olemiss.edu, and now you can mail to my
old address: tony at tacky.cs.olemiss.edu   Thanks!



More information about the Comp.sys.sgi mailing list