From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5f1172c81cc6e210 X-Google-Attributes: gidfee84,public X-Google-Thread: 1065ea,5f1172c81cc6e210 X-Google-Attributes: gid1065ea,public From: Richard & Marilyn Tame Subject: Re: how to create a user with superusers privileges Date: 1998/09/08 Message-ID: <35F4E850.DE5268B1@tig.com.au>#1/1 X-Deja-AN: 389851928 References: <6sjknq$d2o@lilith.uab.es> <35F11CBA.3B503DB5@bigpond.com> Content-Type: multipart/alternative; boundary="------------CFE4CEBB6DDE256E36DA84D2" Organization: The Internet Group Ltd Mime-Version: 1.0 Newsgroups: alt.unix.wizards,comp.unix.osf.osf1 --------------CFE4CEBB6DDE256E36DA84D2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Michael, I have been quite successful with 'sudo'. This allows access to particular files. i.e. I have set it up so our operations team can shut down the system. Also so the applications support team can start the application. This may not meet your exact needs now but it nice to have in the toolbox. Richard Tame Michael T. Comino wrote: > 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 > > ok, well you need to do the following > > 1. In the suid file, place the user who has su priviledges > 2. create a .rsh file so that only certain priledges can be used. > > Well, that's how I would do it. > Hope this helps. > > Cheers, > Michael > --------------CFE4CEBB6DDE256E36DA84D2 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Michael,

I have been quite successful with 'sudo'. This allows access to particular files. i.e. I have set it up so our operations team can shut down the system. Also so the applications support team can start the application.

This may not meet your exact needs now but it nice to have in the toolbox.

Richard Tame
 

Michael T. Comino wrote:

 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

ok, well you need to do the following
  1. In the suid file, place the user who has su priviledges
  2. create a .rsh file so that only certain priledges can be used.
Well, that's how I would do it.
Hope this helps.

Cheers,
Michael
 

  --------------CFE4CEBB6DDE256E36DA84D2-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5f1172c81cc6e210,start X-Google-Attributes: gidfee84,public X-Google-Thread: 1065ea,5f1172c81cc6e210,start X-Google-Attributes: gid1065ea,public From: "Marc" Subject: how to create a user with superusers privileges Date: 1998/09/01 Message-ID: <6sjknq$d2o@lilith.uab.es>#1/1 X-Deja-AN: 387151451 Distribution: inet X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: Universitat Autonoma de Barcelona Newsgroups: alt.unix.wizards,comp.unix.osf.osf1 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