AnsweredAssumed Answered

eAC SUDO and SURROGATE Help!!

Question asked by ca.portal.admin on Mar 19, 2010
Latest reply on Jul 6, 2010 by AaronArmagost
Hi,  I need to run a script as another user.  so far I'm just trying to get the basics right.The script just contains a sewhoami and 'who am i'The is the SUDO and SURROGATE classes I've set-up  editres SUDO ("ADHOCRUNcreate") audit(FAILURE) comment('/export/opt/autosys/scripts/ADHOCRUNcreate;;*') defaccess(NONE) owner('jm27791')  targuid('autosys')authorize SUDO ("ADHOCRUNcreate") access(EXECUTE) gid('ArcSight')editres SURROGATE ("USER.autosys") audit(FAILURE) defaccess(NONE) owner('kr00393')authorize SURROGATE ("USER.autosys") access(READ) gid('ArcSight') via(pgm(/opt/etrust/bin/sesudo))authorize SURROGATE ("USER.autosys") access(READ) gid('ArcSight') via(pgm(/export/opt/autosys/scripts/ADHOCRUNcreate))  but when I do a 'sesudo ADHOCRUNcreate' I get my UserID back rather than the expected 'autosys'  Where am I going wrong?  Getting very frustrated.  ThanksJon

Outcomes