Listed below are the set of post-install chmod
and chown
commands used to set permissions on the agent's installed files.
Code Block |
---|
|
chmod -R u+rx /opt/uptime-agent/bin
chmod go+rx /opt/uptime-agent |
...
chmod go+rx /opt/uptime-agent/bin
chmod u+s /opt/uptime-agent/bin/sadc
chmod u+s /opt/uptime-agent/bin/pvs |
...
chmod u+s /opt/uptime-agent/bin/lvdisplay
chmod u+s /opt/uptime-agent/bin/pvdisplay
chmod u+s /opt/uptime-agent/bin/vgdisplay
chmod u+s /opt/uptime-agent/bin/sg_map |
...
chown uptimeagent /opt/uptime-agent/bin/safe_uptimeagent.sh
chown uptimeagent /opt/uptime-agent/bin/upt_daemon.sh |
...
chown uptimeagent /opt/uptime-agent/bin/uptimeagent
chown uptimeagent /opt/uptime-agent/bin/checklvm.sh
chown uptimeagent /opt/uptime-agent/bin/cpu.sh
chown uptimeagent /opt/uptime-agent/bin/disk.sh
chown uptimeagent /opt/uptime-agent/bin/df-k.sh
chown uptimeagent /opt/uptime-agent/bin/chk4.sh
chown uptimeagent /opt/uptime-agent/bin/header.sh
chown uptimeagent /opt/uptime-agent/bin/mpstat.sh
chown uptimeagent /opt/uptime-agent/bin/netstat.sh |
...
chown uptimeagent /opt/uptime-agent/bin/tailvaradm.sh
chown uptimeagent /opt/uptime-agent/bin/tcpinfo.sh
chown uptimeagent /opt/uptime-agent/bin/ver.sh |
...
chown uptimeagent /opt/uptime-agent/bin/whoin.sh
chown uptimeagent /opt/uptime-agent/bin/bsdsysv.sh
chown uptimeagent /opt/uptime-agent/bin/psinfo.sh
chown uptimeagent /opt/uptime-agent/bin/sysinfo.sh
chown uptimeagent /opt/uptime-agent/bin/iostat
chown uptimeagent /opt/uptime-agent/bin/sar |
...
chown uptimeagent /opt/uptime-agent/bin/mpstat
chown uptimeagent /opt/uptime-agent/bin/vmw
chown root /opt/uptime-agent/bin/sadc |
...
chown root /opt/uptime-agent/bin/lvdisplay
chown root /opt/uptime-agent/bin/pvdisplay
chown root /opt/uptime-agent/bin/vgdisplay
chown root /opt/uptime-agent/bin/pvs |
...
chown root /opt/uptime-agent/bin/sg_map
chown uptimeagent /opt/uptime-agent/bin/sa1
chown uptimeagent /opt/uptime-agent/bin/sa2
chown uptimeagent /opt/uptime-agent/bin/sadf |
...
chown uptimeagent /opt/uptime-agent/bin/libsgutils2.so.2
chown uptimeagent /opt/uptime-agent/bin/agent-cfg.sh
chown uptimeagent /opt/uptime-agent/bin/agent-test.pl
chown uptimeagent /opt/uptime-agent/bin/physdrv.sh |
...
chown uptimeagent /opt/uptime-agent/bin/lastuser.sh
chown uptimeagent /opt/uptime-agent/bin/rexec.sh
chown uptimeagent /opt/uptime-agent/bin/.uptmpasswd
chown uptimeagent /opt/uptime-agent/scripts/rws.sh
chown -R uptimeagent /opt/uptime-agent/tmp |
...
chown -R uptimeagent /opt/uptime-agent/scripts |