[Mauiusers] init script

Miles O'Neal meo at intrinsity.com
Wed Dec 5 16:03:09 MST 2007


Adams, Samuel D AFRL/RHDR said...

|I have an init script to start maui on boot, but maui is configured to
|run as a user called torque.  It would seem that when the system is
|rebooted, maui is started as root which doesn't work.  Any
|recommendations on how to get maui started properly on boot? =20

If you have sudo installed and config'd to allow root to
use it (default, IIRC), you can do this in your script:

   sudo -u torque $PATH_TO_MAUI

or use the appropriate varable containing the user name
if you have such:

   sudo -u $TORQUE_USER $PATH_TO_MAUI

-Miles


More information about the mauiusers mailing list