<28 at van-bc.UUCP>

Kayvan Sylvan kayvan at mrspoc.Transact.COM
Sat Oct 21 04:07:07 AEST 1989


>>>>> "iv" == iv <iv at hal6000.UUCP> writes:

iv> So, though XENIX would accomodate you if you were using just two UIDs,
iv> the fact you wish to be many users via root spells doom for this
iv> technique.  The only way to do what you wish here is to fork
iv> sub-processes, setuid(user) there and exit when done with that user.
iv> (I know, I know, oooh, ick!)

The 'su' program allows people to change to more than two users.
It works because it is setuid to root.

I have programs that use setuid() and setgid() that work fine. They
are all setuid to root (chmod mode 4711) and have to be crafted with
extreme caution to avoid security holes.

			---Kayvan
-- 
Kayvan Sylvan @ Transact Software, Inc. -*-  Los Altos, CA (415) 961-6112
Internet: kayvan at Transact.COM -*- UUCP: ...!{apple,pyramid,mips}!mrspoc!kayvan
= Interested in story telling group? Mail yarn-spinners-request at transact.com =



More information about the Comp.unix.xenix mailing list