SLAC CPE Software Engineering Group
Stanford Linear Accelerator Center
System Admin

OPI Sudo access

SLAC Detailed
SLAC Computing
Software Home
Software Detailed
 

 

 

 


 

 

The operators want to be able to sit at one OPI and control LCLS and FACET control systems.  We first setup, on LCLS, a simple SSH to a facet server and bring up facethome.  This worked fine until they tried to bring up a PPS camera.  VLC is setup to only work on the OPIs as the PPS cameras critical for operations. I had to setup a "sudo" command so the physics user can launch facethome as fphysics on the OPI so the PPS cameras will work for Facet as well.  This type of setup was used for the facet-archview because it took so long to come up.

 

 

 

/etc/sudoers.d/

Install the OPI-sudo file in /etc/sudoers.d/  area on the OPIs

##Allow physics/fphysics account to run locally on OPI
physics ALL=(fphysics) NOPASSWD:/usr/local/facet/tools/script/facethome
physics ALL=(fphysics) NOPASSWD:/bin/bash
fphysics ALL=(physics) NOPASSWD:/usr/local/lcls/tools/script/lclshome
fphysics ALL=(physics) NOPASSWD:/bin/bash
physics ALL=(fphysics) NOPASSWD:/home/physics/bin/facet-archview-OPI

 

/usr/local/admin/sudo

-copy of OPI-sudo file to be copied to OPIs

 

 



 

Programmers' Guides, Users' Guides, Requirements, Design, Papers, Administration, How-To, Hardware, IOC, Database

 

[SLAC CPE Software Engineering Group][ SLAC Home Page]

 


Created by: Ken Brobeck  13-Aug-2020

Modified:  13-Aug-2020