Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: GACK! DU 4.0d mount() now looks at real (not effective) uid!
Date: 1998/05/19	[thread overview]
Message-ID: <6jssu6$lls@ds2.acs.ucalgary.ca> (raw)
In-Reply-To: Et7u66.4oD@campus-news-reading.utoronto.ca


Mark Bartelt (mark@cita.toronto.edu) wrote:
: And, more important ...  Other than giving everyone the root
: password, how (if at all) *can* we permit people to mount and
: unmount their own CDs under 4.0d?

Why not insert setuid(geteuid()) ; setgid(getegid()) ; before
calling execl? Assuming that you already clean up the environment
(which you should do anyway), this will not be any more dangerous
than it is now...

/Serge.P



  reply	other threads:[~1998-05-19  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-19  4:00 GACK! DU 4.0d mount() now looks at real (not effective) uid! Mark Bartelt
1998-05-19  4:00 ` Serguei Patchkovskii [this message]
1998-05-20  4:00 ` SUMMARY: " Mark Bartelt
1998-05-20  4:00 ` Thomas Leitner
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