From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,a41ed62a940a9914 X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee84,a41ed62a940a9914 X-Google-Attributes: gidfee84,public X-Google-Thread: 1065ea,17e2c0446635c161 X-Google-Attributes: gid1065ea,public From: Michael Thomas Cope Subject: Re: Superuser privileges Date: 1998/09/02 Message-ID: <6sjsum$ap1$2@cinenews.claremont.edu>#1/1 X-Deja-AN: 387183430 Distribution: inet References: <6sjko7$d2o@lilith.uab.es> Followup-To: comp.unix.osf.osf1,comp.unix.questions Organization: The Claremont Colleges User-Agent: tin/pre-1.4-980818 ("Laura") (UNIX) (SunOS/5.6 (sun4u)) Newsgroups: alt.unix.wizards,comp.unix.osf.osf1,comp.unix.questions In comp.unix.questions Marc wrote: : Hi everyone, : i'm trying to create a new user which would have some superuser privileges : (in order to be able to call setuid and plock system calls) in a DIGITAL : UNIX system. : The question is if when the system calls setuid and plock check if the : caller have superuser privileges they check only if the caller uid is 0 or : not? Yes : If it only checks the caller uid, there's some other way to give system : privileges to a user (which is not the root user)? You can make the program in question setuid root...maybe you should ask the wizards. Or you can set up privs for executing the program using sudo. Sudo allows you to specify specific commands to give specific users super-user execute privs to. It is available from all the usual suspects. -Mike -- Michael Cope: Harvey Mudd College '00; Armand Hammer UWC '96 E-mail: Michael_Cope@hmc.edu