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: Arran Price Subject: Re: Superuser privileges Date: 1998/09/03 Message-ID: <35EDC3D2.9DA@datamail.co.nz>#1/1 X-Deja-AN: 387281571 Cache-Post-Path: estelle.paradise.net.nz!unknown@d56.turbo.paradise.net.nz Content-Transfer-Encoding: 7bit References: <6sjko7$d2o@lilith.uab.es> To: Marc Content-Type: text/plain; charset=us-ascii Organization: Paradise Net Customer. X-Cache: nntpcache 2.3.2.1 (see http://www.nntpcache.org/) Mime-Version: 1.0 Newsgroups: alt.unix.wizards,comp.unix.osf.osf1,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? > > 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)? > > thanks, > > Marc check out sudo its a package which you can use to configure certain users to run certain commands as root. This is done without that user needing to know the root password. its a pretty cool tool. sorry but I dont know the url off the top of my head. sudo is available for pretty much every version of unix I think. Hope that helps Arran My opinions are my own and do not reflect those of my employer.