perforce_sudoers.t #1

  • //
  • guest/
  • perforce_software/
  • sdp/
  • main/
  • Server/
  • Unix/
  • p4/
  • common/
  • etc/
  • sudoers.d/
  • perforce_sudoers.t
  • View
  • Commits
  • Open Download .zip Download (3 KB)
Cmnd_Alias P4_SVC = /usr/bin/systemctl start node_exporter, \
   /usr/bin/systemctl stop node_exporter, \
   /usr/bin/systemctl restart node_exporter, \
   /usr/bin/systemctl status node_exporter, \
   /usr/bin/systemctl cat node_exporter, \
   /usr/bin/systemctl enable node_exporter, \
   /usr/bin/systemctl disable node_exporter, \
   /usr/bin/systemctl is-enabled node_exporter, \
   /usr/bin/systemctl start p4d_*, \
   /usr/bin/systemctl stop p4d_*, \
   /usr/bin/systemctl restart p4d_*, \
   /usr/bin/systemctl status p4d_*, \
   /usr/bin/systemctl cat p4d_*, \
   /usr/bin/systemctl enable p4d_*, \
   /usr/bin/systemctl disable p4d_*, \
   /usr/bin/systemctl is-enabled p4d_*, \
   /usr/bin/systemctl start p4dtg_*, \
   /usr/bin/systemctl stop p4dtg_*, \
   /usr/bin/systemctl restart p4dtg_*, \
   /usr/bin/systemctl status p4dtg_*, \
   /usr/bin/systemctl cat p4dtg_*, \
   /usr/bin/systemctl enable p4dtg_*, \
   /usr/bin/systemctl disable p4dtg_*, \
   /usr/bin/systemctl is-enabled p4dtg_*, \
   /usr/bin/systemctl start p4broker_*, \
   /usr/bin/systemctl stop p4broker_*, \
   /usr/bin/systemctl restart p4broker_*, \
   /usr/bin/systemctl status p4broker_*, \
   /usr/bin/systemctl cat p4broker_*, \
   /usr/bin/systemctl enable p4broker_*, \
   /usr/bin/systemctl disable p4broker_*, \
   /usr/bin/systemctl is-enabled p4broker_*, \
   /usr/bin/systemctl start p4p_*, \
   /usr/bin/systemctl stop p4p_*, \
   /usr/bin/systemctl restart p4p_*, \
   /usr/bin/systemctl status p4p_*, \
   /usr/bin/systemctl cat p4p_*, \
   /usr/bin/systemctl enable p4p_*, \
   /usr/bin/systemctl disable p4p_*, \
   /usr/bin/systemctl is-enabled p4p_*, \
   /usr/bin/systemctl start p4prometheus, \
   /usr/bin/systemctl stop p4prometheus, \
   /usr/bin/systemctl restart p4prometheus, \
   /usr/bin/systemctl status p4prometheus, \
   /usr/bin/systemctl cat p4prometheus, \
   /usr/bin/systemctl enable p4prometheus, \
   /usr/bin/systemctl disable p4prometheus, \
   /usr/bin/systemctl is-enabled p4prometheus, \
   /usr/bin/systemctl start helix-auth, \
   /usr/bin/systemctl stop helix-auth, \
   /usr/bin/systemctl restart helix-auth, \
   /usr/bin/systemctl status helix-auth, \
   /usr/bin/systemctl cat helix-auth, \
   /usr/bin/systemctl enable helix-auth, \
   /usr/bin/systemctl disable helix-auth, \
   /usr/bin/systemctl is-enabled helix-auth, \
   /usr/bin/lslocks, \
   /usr/bin/getcap, \
   /usr/bin/setcap, \
   /usr/sbin/setcap, \
   /usr/sbin/getcap, \
   /sbin/getcap, \
   /sbin/setcap, \
   /bin/getcap, \
   /bin/setcap

__OSUSER__  __HOSTNAME__ = (root) NOPASSWD: P4_SVC
# Change User Description Committed
#1 30297 C. Thomas Tyler Released SDP 2023.2.30295 (2024/05/08).
Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'.
//guest/perforce_software/sdp/dev/Server/Unix/p4/common/etc/sudoers.d/perforce_sudoers.t
#1 30285 C. Thomas Tyler Updated SDP Guide for Unix to include raw perforce_suoders.t file
for better accuracy and easier update.

Added a copy of perforce_sudoers.t from Helix Installer.  For immediate
purposes, this is to allow this file to be included in SDP
documentation.  However, this change is also part of a larger goal
to move extensive Helix Installer functionality into the SDP.