Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


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

RTFM sudoers question



I have a user id on our system that is currently used for multiple
people to log in (which I don't like).
What I would like to do is to force users to log in under their own user
names, and use sudo to access this user. What I want to be able to do is
to restrict those users specifically to that user name. In the past I
have set up sudo to restrict users to certain commands, such as shutdown.=


Specifically, what I want to do is:
<some user>$ sudo -s -H -u <another user>

In the sudoers, I could set up something like:

User_Alias     FES =3D greg, andrew, matt



FES ALL =3D (genuser) ALL

Would this allow greg, andrew and matt to beable to run sudo -u genuser,
but not use sudo to become any other user or root.

--=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846








BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org