From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,58927b269bde52da X-Google-Attributes: gidfee84,public 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 Message-ID: <6jssu6$lls@ds2.acs.ucalgary.ca>#1/1 X-Deja-AN: 354744372 References: Organization: The University of Calgary Newsgroups: comp.unix.osf.osf1 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