* Superuser privileges
@ 1998-09-01 4:00 Marc
0 siblings, 0 replies; 5+ 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] 5+ messages in thread
* Superuser privileges
@ 1998-09-02 4:00 Marc
0 siblings, 0 replies; 5+ messages in thread
From: Marc @ 1998-09-02 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] 5+ messages in thread
* Superuser privileges
@ 1998-09-02 4:00 Marc
1998-09-02 4:00 ` Michael Thomas Cope
1998-09-03 4:00 ` Arran Price
0 siblings, 2 replies; 5+ messages in thread
From: Marc @ 1998-09-02 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] 5+ messages in thread
* Re: Superuser privileges
1998-09-02 4:00 Marc
@ 1998-09-02 4:00 ` Michael Thomas Cope
1998-09-03 4:00 ` Arran Price
1 sibling, 0 replies; 5+ messages in thread
From: Michael Thomas Cope @ 1998-09-02 4:00 UTC (permalink / raw)
<followups trimmed>
In comp.unix.questions 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?
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Superuser privileges
1998-09-02 4:00 Marc
1998-09-02 4:00 ` Michael Thomas Cope
@ 1998-09-03 4:00 ` Arran Price
1 sibling, 0 replies; 5+ messages in thread
From: Arran Price @ 1998-09-03 4:00 UTC (permalink / raw)
To: Marc
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-09-03 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-01 4:00 Superuser privileges Marc
-- strict thread matches above, loose matches on Subject: below --
1998-09-02 4:00 Marc
1998-09-02 4:00 Marc
1998-09-02 4:00 ` Michael Thomas Cope
1998-09-03 4:00 ` Arran Price
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox