Bypass EGO login at startup (lsf.sudoers)

Before you begin

To use the lsf.sudoers file, you must be the LSF administrator (lsfadmin) or root , and you must enable the setuid bit for the LSF administration commands. Run the hostsetup --setuid command option on the LSF management and candidate hosts to enable the setuid bit. Since this allows daemons to run with root privileges, do not enable the setuid bit if you do not want LSF daemons to run with root privileges.

The hostsetup --setuid command enables the setuid bit for the following LSF executable files: badmin, lsadmin, egosh, utmpreg, swtbl_api, ntbl_api, lstbl_nid, and swtbl_poe.

About this task

When LSF daemons control through EGO Service Controller is configured, users must have EGO credentials for EGO to start res and sbatchd services. By default, lsadmin and badmin invoke the egosh user logon command to prompt for the user name and password of the EGO administrator to get EGO credentials.

Procedure

Configure lsf.sudoers to bypass EGO login to start res and sbatchd automatically.
Set the following parameters:
  • LSF_EGO_ADMIN_USER—User name of the EGO administrator. The default administrator name is Admin.
  • LSF_EGO_ADMIN_PASSWD—Password of the EGO administrator.