3 Replies Latest reply on Dec 20, 2005 12:14 PM by Chris Zappala

    disabling unix accounts via nsh script

      Share This:

      I am using a disable user nsh script provided by BL to disable accounts on HP-UX and Sun servers. The command used is nexec -e "passwd -l $USER_NAME" and I am running this from CM, but the execution fails against servers with one of the following 3 errors:


      Permission Denied.

      Password cannot be changed. Reason: Cannot access protected password entry.



      I verified that the role and users running this script are set to rw,map=root in the users file on those servers. The script is using option 1, "Execute the script separately against each host (using "runscript")".