* Shutdown
@ 2000-01-29 5:00 Ramon Marquez
2000-01-31 5:00 ` Shutdown Bob Koehler
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Ramon Marquez @ 2000-01-29 5:00 UTC (permalink / raw)
Hello to all.
This is my question. How can I setup a way so an user that�s not
'root' could shutdown a system?
I though about creatin an user with privileges enough to do it, and
different from root, but I don't see this possible as far as I have
discovered.
What I'm trying to do is have the chance that any person, knowing a
certain user and a password can star the process of shuting down a
system without being 'root'. Can I do this? If so, how?
TIA
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Shutdown
2000-01-29 5:00 Shutdown Ramon Marquez
@ 2000-01-31 5:00 ` Bob Koehler
2000-01-31 5:00 ` Shutdown Jesper Frank Nemholt
2000-02-02 5:00 ` Shutdown Igor Ugolini
2 siblings, 0 replies; 4+ messages in thread
From: Bob Koehler @ 2000-01-31 5:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 767 bytes --]
In article <2ah69so03jojmagdiub5d6o7jrul078t3u@4ax.com>, Ramon Marquez <ramonmarquez@costanet.es> writes:
> Hello to all.
>
> This is my question. How can I setup a way so an user that�s not
> 'root' could shutdown a system?
>
The traditional way of doing this is via sudo. sudo is a program with
the set user bit on, which allows the user to effectively be root.
Unlike really being root, sudo only allows a predetermined set of
functions (and only to a predetermined set of real users).
----------------------------------------------------------------------
Bob Koehler | Computer Sciences Corporation
Hubble Space Telescope Payload | Federal Sector, Civil Group
Flight Software Team | please remove ".aspm" when replying
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Shutdown
2000-01-29 5:00 Shutdown Ramon Marquez
2000-01-31 5:00 ` Shutdown Bob Koehler
@ 2000-01-31 5:00 ` Jesper Frank Nemholt
2000-02-02 5:00 ` Shutdown Igor Ugolini
2 siblings, 0 replies; 4+ messages in thread
From: Jesper Frank Nemholt @ 2000-01-31 5:00 UTC (permalink / raw)
Ramon Marquez wrote:
>
> Hello to all.
>
> This is my question. How can I setup a way so an user that�s not
> 'root' could shutdown a system?
>
> I though about creatin an user with privileges enough to do it, and
> different from root, but I don't see this possible as far as I have
> discovered.
>
> What I'm trying to do is have the chance that any person, knowing a
> certain user and a password can star the process of shuting down a
> system without being 'root'. Can I do this? If so, how?
>
> TIA
Look at the open source product called SUDO. It allows non-priviledged
users to do priviledged tasks, but only the ones you decide.
l8r/Jspr
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Shutdown
2000-01-29 5:00 Shutdown Ramon Marquez
2000-01-31 5:00 ` Shutdown Bob Koehler
2000-01-31 5:00 ` Shutdown Jesper Frank Nemholt
@ 2000-02-02 5:00 ` Igor Ugolini
2 siblings, 0 replies; 4+ messages in thread
From: Igor Ugolini @ 2000-02-02 5:00 UTC (permalink / raw)
Hi Ramon,
you can also use the dop comand on tru64unix. (its only documented on
version 5.0 but you can use it in former releases too.)
Edit the /etc/doprc file:
global_admin {
{users {root user1 user2 }}
{groups { }}
}
the user1 and user2 will have privilege to run all comands listed in
this file that contain a valid path.
to run shutdown comand as user1 use:
#dop shutdown ....
Cheers, Igor
Ramon Marquez wrote:
> Hello to all.
>
> This is my question. How can I setup a way so an user that�s not
> 'root' could shutdown a system?
>
> I though about creatin an user with privileges enough to do it, and
> different from root, but I don't see this possible as far as I have
> discovered.
>
> What I'm trying to do is have the chance that any person, knowing a
> certain user and a password can star the process of shuting down a
> system without being 'root'. Can I do this? If so, how?
>
> TIA
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-02-02 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-29 5:00 Shutdown Ramon Marquez
2000-01-31 5:00 ` Shutdown Bob Koehler
2000-01-31 5:00 ` Shutdown Jesper Frank Nemholt
2000-02-02 5:00 ` Shutdown Igor Ugolini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox