1 # -----------------------------------------------------------------
2 # We're assuming that ssh authentication has already been used, this
3 # is more risky than I'm comfortable with, but it saves the problem
4 # of managing a separate password file.
5 # -----------------------------------------------------------------
8 # -----------------------------------------------------------------
9 # No surpise... root has universal access
10 # -----------------------------------------------------------------
13 # -----------------------------------------------------------------
14 # ADMIN_CMDS are those available to PlanetLab administrators
15 # -----------------------------------------------------------------
16 Cmnd_Alias ADMIN_CMDS = /usr/local/planetlab/bin/pl-ps, \
17 /usr/local/planetlab/bin/pl-catlogs, \
18 /usr/local/planetlab/bin/pl-limitbw, \
19 /usr/local/planetlab/bin/pl-kill, \
20 /usr/local/planetlab/bin/pl-sanetop, \
22 /usr/local/planetlab/bin/tcpdumpkill, \
24 /usr/local/planetlab/bin/tc, \
25 /etc/init.d/vserver-init, \
26 /usr/local/planetlab/bin/NodeUpdate.py, \
27 /usr/local/planetlab/bin/PlanetLabConf.py, \
28 /usr/local/planetlab/bin/PlanetLabKeys.py, \
33 # -----------------------------------------------------------------
34 # SITE_CMDS are those available to local site administrators
35 # -----------------------------------------------------------------
36 Cmnd_Alias SITE_CMDS = /usr/local/planetlab/bin/pl-ps, \
37 /usr/local/planetlab/bin/pl-catlogs, \
38 /usr/local/planetlab/bin/pl-limitbw, \
41 /usr/bin/passwd -d site_admin, \
42 /usr/bin/passwd site_admin
44 # -----------------------------------------------------------------
45 # PLADMINS -- accounts with admin privileges on all nodes
46 # -----------------------------------------------------------------
47 pl_admin ALL = ADMIN_CMDS
49 # -----------------------------------------------------------------
50 # Site Admins -- accounts with admin privileges on the local nodes
51 # -----------------------------------------------------------------
52 site_admin ALL = SITE_CMDS