2 // Get admin API handle
3 require_once 'plc_config.php';
5 $user = PLC_SLICE_PREFIX . '_monitor';
7 echo "# -----------------------------------------------------------------
8 # We're assuming that ssh authentication has already been used, this
9 # is more risky than I'm comfortable with, but it saves the problem
10 # of managing a separate password file.
11 # -----------------------------------------------------------------
12 Defaults !authenticate
14 # -----------------------------------------------------------------
15 # No surpise... root has universal access
16 # -----------------------------------------------------------------
19 # -----------------------------------------------------------------
20 # SITE_CMDS are those available to local site administrators
21 # -----------------------------------------------------------------
22 Cmnd_Alias SITE_CMDS = /usr/sbin/vps, \
30 /usr/local/planetlab/bin/pl-catlogs, \
34 /usr/bin/passwd -d site_admin, \
35 /usr/bin/passwd site_admin, \
36 /bin/more /var/log/messages, \
39 # -----------------------------------------------------------------
40 # Site Admins -- accounts with admin privileges on the local nodes
41 # -----------------------------------------------------------------
42 site_admin ALL = SITE_CMDS