From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,511192e3f1eeb504 X-Google-Attributes: gidf8c9b,public X-Google-Thread: fc89c,511192e3f1eeb504 X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,511192e3f1eeb504 X-Google-Attributes: gidfee84,public X-Google-Thread: 1065ea,511192e3f1eeb504 X-Google-Attributes: gid1065ea,public From: Juergen Ilse Subject: Re: how to create a users with superuser privileges Date: 1998/09/03 Message-ID: <6sltpb$3ag$2@sugar.asys-h.de>#1/1 X-Deja-AN: 387455818 Distribution: inet References: <6sjknn$d2o@lilith.uab.es> Organization: Advanced Systems Software GmbH User-Agent: tin/pre-1.4-980618 (UNIX) (SunOS/4.1.3 (sun4c)) Newsgroups: alt.unix.wizards,comp.unix.osf.osf1,comp.unix.programmer,comp.unix.questions Hello, In alt.unix.wizards Marc wrote: >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? The system only cares about uids, not User-Names. If someone works with "User-ID" 0, he IS the SuperUser, indendently from his Username... >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)? There are some "wrappers" available giving privilidges to some users (only for executing a command from a configurable set of commands). One of these packages is "sudo" (i know it from Linux, but it should be easy to port it to other unix systems). Maybe that is what you have searched for... ciao, Juergen Ilse (ilse@asys-h.de)