<div dir="ltr">Here is the scenario I am trying to solve.<div><br></div><div>teamsysuer =&gt; system account  without a shell but has the following entry in sudoers file</div><div><br></div><div>teamssysuser ALL(ALL) NOPASSWD:ALL</div><div><br></div><div>========================</div><div><br></div><div>narahari =&gt; regular user </div><div>robert =&gt; regular user</div><div><br></div><div>========================</div><div><br></div><div>We want to be able to allow </div><div>narahari and robert run commands as themselves and teamsysuser only.</div><div><br></div><div>I have done some playing around sudoers file</div><div><br></div><div><div>User_Alias      ALL_MY_USERS = narahari robert</div><div>Runas_Alias     TEAM_SYS_USER = teamssysuser</div><div><br></div><div>......</div><div>.......</div><div>....</div><div>......</div><div>......</div><div><br></div><div>teamssysuser ALL=(ALL) NOPASSWD: ALL</div><div><br></div><div>ALL_MY_USERS    ALL = (TEAM_SYS_USER) NOPASSWD:ALL</div></div><div><br></div><div>=================================</div><div><br></div><div>I am not sure if this is the right approach or conceptually am I wrong ?</div><div><br></div><div>-N</div></div>