Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* how to create a users with superuser privileges
@ 1998-09-01  4:00 Marc
  1998-09-02  4:00 ` djnick
  1998-09-03  4:00 ` Juergen Ilse
  0 siblings, 2 replies; 3+ messages in thread
From: Marc @ 1998-09-01  4:00 UTC (permalink / raw)


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







^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to create a users with superuser privileges
  1998-09-01  4:00 how to create a users with superuser privileges Marc
@ 1998-09-02  4:00 ` djnick
  1998-09-03  4:00 ` Juergen Ilse
  1 sibling, 0 replies; 3+ messages in thread
From: djnick @ 1998-09-02  4:00 UTC (permalink / raw)


I'm not 100% sure, but if you want the user to be able to run some programs
with super-user privilages then you could configure sudo.

-d-


In article <6sjknn$d2o@lilith.uab.es>,
  "Marc" <mortega@seneca.uab.es> 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
>
>

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to create a users with superuser privileges
  1998-09-01  4:00 how to create a users with superuser privileges Marc
  1998-09-02  4:00 ` djnick
@ 1998-09-03  4:00 ` Juergen Ilse
  1 sibling, 0 replies; 3+ messages in thread
From: Juergen Ilse @ 1998-09-03  4:00 UTC (permalink / raw)


Hello,

In alt.unix.wizards Marc <mortega@seneca.uab.es> 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)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-09-03  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-01  4:00 how to create a users with superuser privileges Marc
1998-09-02  4:00 ` djnick
1998-09-03  4:00 ` Juergen Ilse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox