Don't think I've seen sudo mentioned yet, so I'll throw that in as a
possibility.  Let's anyone do whatever they are listed in the sudoers
file as having permission to do.

Here's an extract from my sudoers file:
# User specification
root    ALL=ALL
mike    ALL=/sbin/shutdown

root does whatever he wants, mike can do shutdown - and only shutdown -
as the superuser.  Here's the catch - mike can only do that by using
*mike's* password.  When shutdown asks for the password, the password
for the user performing the shutdown must be entered.

The sudoers file has to be edited with the visudo command - won't allow
editing with a regular editor.  Also, man sudo to see how this file
works (i.e. what each bit means).
-- 
Mike Werner  KA8YSD           |  "Where do you want to go today?"
ICQ# 12934898                 |  "As far from Redmond as possible!"
'91 GS500E                    |
Morgantown WV                 |

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU d-@ s:+ a- C++>$ UL++ P+ L+++ E W++ N++ !o w--- O- !M V-- PS+ PE+
 Y+ R+ !tv b+++(++++) DI+ D--- G e*>++ h! r++ y++++
------END GEEK CODE BLOCK------

Reply via email to