From jrodman@suse.com Sun May 2 20:28:19 1999
From: jrodman@suse.com
To: users@lists.opensuse.org
Subject: Re: [SuSE Linux] Permissions for users to shutdown?
Date: Sun, 02 May 1999 13:28:19 -0700
Message-ID: <19990502132819.B1675@Baader.SuSE.Com>
In-Reply-To: <[SuSE Linux] Permissions for users to shutdown?>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5573607934864104141=="
--===============5573607934864104141==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
* Richard Booth (richard(a)mieussy.freeserve.co.uk) [990427 15:14]:
> Hi
>=20
> How do you set permissions for users to shutdown the pc? I know about using
> KDM, but are there any other ways?
This depends upon what exactly you want them to be able to do.
If you want users to be able to run the 'shutdown' or 'reboot' commands,
then you will want to look at SUDO. You can give users the ability to run
commands as if they were other users. This would enable them to remotely
shutdown or reboot your machine. Be very careful the strings you use for
SUDO, as poorly chosen strings may allow people to bypass system security.
Generally require full paths for a start.
If you want to control who can shut it down from the console, another
option would be the file /etc/shutdown.allow. This file contains a list
of users who may use ctrl-alt-delete. If one of these users is logged in
on the console ctrl-alt-delete will work.
There are probably other methods. Be creative :)
-josh
--
To get out of this list, please send email to majordomo(a)suse.com with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at <=
A HREF=3D"http://www.suse.com/Support/Doku/FAQ/http://www.suse.com/Suppo=
rt/Doku/FAQ/> and the
archive at ht=
tp://www.suse.com/Mailinglists/suse-linux-e/index.html>
--===============5573607934864104141==--