RE: Priviledges for Administrators...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> -----Original Message-----
> From: Hendrix [mailto:tgjp@thezone.net]
> Subject: Priviledges for Administrators...
...
> Is there a method of giving a user a certain administrative
> priviledge without having to give them "root" priviledges...  For
> example, NT and Novell offers certain priviledges for people to be
> able to handle
> specific tasks (like backups, printer etc..)...  How can this be
> done with Linux, without giving the user "root" access...???

check out the package sudo (super user do) which allows you to grant
"execution-right as root" for certain executables (to be configured
using visudo) from certain machines to certain users.  These users
then should execute the command using
sudo command commandarguments
After which the sudo program will check whether the user has
permission to execute the given command logged in from his current
machine.  The user then must enter her own user-password.  On
successfull authentication, the command is executed with
root-privileges.
successfull Execution of sudo (and the executed command) is by
default logged.
One drawback in my opinion is: the default settings allow repetitive
trying to enter user-password.  but then again passwd does so too.

******* Groetjes vanwege ***** Greetings From *******
Dieter Demerre - http://www.angelfire.com/de/ddemerre
  ddemerre@acm.org - ext.dieter.demerre@siemens.be

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOWmsLQlG34XnM6kpEQJrWACePfKMggkavJUzBUjCikmccxZYluIAoOdp
C8W64V8M4nhmFmcd4WlMP3Ra
=LOrn
-----END PGP SIGNATURE-----
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux