11 Replies Latest reply on Sep 21, 2012 11:22 AM by Jim Wilson

    Password push script of BL not working not updating the password

      Hi,

       

      The in built password push script for updating the password is not working as it updates the user's password with a blank password. This in-buit script is working fine on solaris 10 servers but not on solaris 9 or below.

       

      Also, the password state is disbaled and not enabled for the user whose password is reset..

       

      Regards

       

      Kapil Khanduja

        • 1. Re: Password push script of BL not working not updating the password

          Hi - what version of BSA?

          There was a defect resolved in 8.2 SP1 relating to Solaris pw resets

          • 2. Re: Password push script of BL not working not updating the password
            Bill Robinson

            And what do you mean by ‘built-in passwd push script’ ?  there are no built in password push scripts.  You can create a blpackage to push out a user passwd, but that is not considered a ‘script’ imo.

            • 3. Re: Password push script of BL not working not updating the password

              Scott,

               

              The  version is BL 8.1 SP4. We are not using 8.2 SP1.

               

              Regards

              Kapil Khanduja

              • 4. Re: Password push script of BL not working not updating the password

                Bill,

                 

                Exactly we are using the said blpackage only to push the password for a user. This push password is workin perfectly on Solaris 10 boxes but not on Solaris 9 or below flavors.

                 

                Thanks

                Kapil Khanduja

                • 5. Re: Password push script of BL not working not updating the password
                  Bill Robinson

                  What is in the bldeploy log for the failed blpackage deploy on the target ?

                  • 6. Re: Password push script of BL not working not updating the password

                    Hi Bill,

                     

                    Apologies for the late reply. Following are the BL deploy logs of one the password push job:

                     

                    02/09/12 14:20:54.706 INFO     bldeploy - Bldeploy started for package: 038e22eb019f3eecb5ceee05f590fb9c
                    02/09/12 14:20:54.706 DEBUG    bldeploy - Bldeploy Arguments:
                    02/09/12 14:20:54.706 DEBUG    bldeploy - /usr/nsh/NSH/sbin/bldeploy
                    02/09/12 14:20:54.706 DEBUG    bldeploy - 038e22eb019f3eecb5ceee05f590fb9c
                    02/09/12 14:20:54.706 DEBUG    bldeploy - -N="/var/tmp/stage/347fdc50f9c933e5b2b36da2112974d4"
                    02/09/12 14:20:54.706 DEBUG    bldeploy - -P=usa0300ux841.apps.mc.xerox.com
                    02/09/12 14:20:54.706 DEBUG    bldeploy - -Q=params.txt
                    02/09/12 14:20:54.706 DEBUG    bldeploy - -PKG="reset%20passwd-51776.1"
                    02/09/12 14:20:54.706 DEBUG    bldeploy - -DryRun
                    02/09/12 14:20:54.706 DEBUG    bldeploy - -Xr
                    02/09/12 14:20:54.706 DEBUG    bldeploy - -V1
                    02/09/12 14:20:54.706 DEBUG    bldeploy - -js0
                    02/09/12 14:20:54.707 DEBUG    bldeploy - -jr0
                    02/09/12 14:20:54.707 DEBUG    bldeploy - -jc0
                    02/09/12 14:20:54.707 DEBUG    bldeploy - -StartNew
                    02/09/12 14:20:54.707 DEBUG    bldeploy - /usr/nsh/NSH/sbin/bldeploy  - 8.1.0.295
                    02/09/12 14:20:54.708 INFO     bldeploy - Deployment job not in single-job mode. Reboot and single-user mode is not allowed
                    02/09/12 14:20:54.708 DEBUG    bldeploy - Cleanup staging area on failure
                    02/09/12 14:20:55.715 DEBUG    bldeploy - Utilizing configuration file: /var/tmp/stage/347fdc50f9c933e5b2b36da2112974d4/038e22eb019f3eecb5ceee05f590fb9c.cfg
                    02/09/12 14:20:55.715 DEBUG    bldeploy - Fresh start of deployment, deleting any pre-existing configuration file
                    02/09/12 14:20:55.718 DEBUG    bldeploy - Could not open file "/usr/nsh/NSH/params.txt" for reading
                    02/09/12 14:20:55.718 DEBUG    bldeploy -
                    DEPLOYNAME = 038e22eb019f3eecb5ceee05f590fb9c:
                    DEPLOYPATH = /var/tmp/stage/347fdc50f9c933e5b2b36da2112974d4:
                    FQHOST = usa0300ux841.apps.mc.xerox.com:
                    HOST = usa0300ux841:
                    HOSTIP = 13.129.6.41:
                    NAMESPACE = usa0300ux841.apps.mc.xerox.com:
                    ROLLBACKPATH = /usr/nsh/NSH/Transactions/038e22eb019f3eecb5ceee05f590fb9c:
                    RSCDIR = /usr/nsh/NSH:
                    XMLFILEPATH = /var/tmp/stage/347fdc50f9c933e5b2b36da2112974d4/bldeploy.xml:
                    02/09/12 14:20:55.719 DEBUG    bldeploy - Full command line /usr/nsh/NSH/sbin/bldeploy 038e22eb019f3eecb5ceee05f590fb9c -N="/var/tmp/stage/347fdc50f9c933e5b2b36da2112974d4" -P=usa0300ux841.apps.mc.xerox.com -Q=params.txt -PKG="reset%20passwd-51776.1" -DryRun -Xr -V1 -js0 -jr0 -jc0
                    02/09/12 14:20:55.720 DEBUG    bldeploy - Validating existence of wait lock /usr/nsh/NSH/Transactions/locks/reboot.lck
                    02/09/12 14:20:55.720 DEBUG    bldeploy - Deployment running in multi-job mode
                    02/09/12 14:20:55.723 DEBUG    bldeploy - Read lock acquired release write lock
                    02/09/12 14:20:55.723 DEBUG    bldeploy - Acquired appropriate lock: /usr/nsh/NSH/Transactions/locks/reader/038e22eb019f3eecb5ceee05f590fb9c.lck
                    02/09/12 14:20:55.726 DEBUG    bldeploy - Creating directory /usr/nsh/NSH/Transactions/038e22eb019f3eecb5ceee05f590fb9c :access world
                    02/09/12 14:20:55.726 INFO     bldeploy - Bldeploy "reset passwd" UUID(038e22eb019f3eecb5ceee05f590fb9c) started using file /var/tmp/stage/347fdc50f9c933e5b2b36da2112974d4/bldeploy.xml with rollback directory /usr/nsh/NSH/Transactions/038e22eb019f3eecb5ceee05f590fb9c
                    02/09/12 14:20:55.745 INFO     bldeploy - Starting dryRun
                    02/09/12 14:20:55.746 DEBUG    bldeploy - [][] Dryrun id =
                    02/09/12 14:20:55.747 DEBUG    bldeploy - [1][/tmp/Resetpassword.ksh] Dryrun id = 1
                    02/09/12 14:20:55.747 DEBUG    bldeploy - [1][/tmp/Resetpassword.ksh] unixFileCreatePerms: /tmp/Resetpassword.ksh
                    02/09/12 14:20:55.747 DEBUG    bldeploy - [1][/tmp/Resetpassword.ksh] Checking directory: /tmp
                    02/09/12 14:20:55.747 DEBUG    bldeploy - [1][/tmp/Resetpassword.ksh] Found directory: /tmp
                    02/09/12 14:20:55.748 DEBUG    bldeploy - [2][execute] Dryrun id = 2
                    02/09/12 14:20:55.748 INFO     bldeploy - Dryrun succeeded
                    02/09/12 14:20:55.750 DEBUG    bldeploy - Dryrun does not delete staging nor rollback directories
                    02/09/12 14:20:55.750 DEBUG    bldeploy - DeletePkg = 0 DeleteUndo = 0
                    02/09/12 14:20:55.751 DEBUG    bldeploy - Bldeploy done - nRet = 3 (DryRun successful) exitCode = 0 (Deployment succeeded)

                    02/09/12 14:21:15.593 INFO     bldeploy - Bldeploy started for package: 038e22eb019f3eecb5ceee05f590fb9c
                    02/09/12 14:21:15.594 DEBUG    bldeploy - Bldeploy Arguments:
                    02/09/12 14:21:15.594 DEBUG    bldeploy - /usr/nsh/NSH/sbin/bldeploy
                    02/09/12 14:21:15.594 DEBUG    bldeploy - 038e22eb019f3eecb5ceee05f590fb9c
                    02/09/12 14:21:15.594 DEBUG    bldeploy - -N="/var/tmp/stage/347fdc50f9c933e5b2b36da2112974d4"
                    02/09/12 14:21:15.594 DEBUG    bldeploy - -P=usa0300ux841.apps.mc.xerox.com
                    02/09/12 14:21:15.594 DEBUG    bldeploy - -Q=params.txt
                    02/09/12 14:21:15.594 DEBUG    bldeploy - -PKG="reset%20passwd-51776.1"
                    02/09/12 14:21:15.594 DEBUG    bldeploy - -V1
                    02/09/12 14:21:15.594 DEBUG    bldeploy - -RegAllCOM
                    02/09/12 14:21:15.594 DEBUG    bldeploy - -UnregAllCOM
                    02/09/12 14:21:15.594 DEBUG    bldeploy - -TreatLockedAsErr
                    02/09/12 14:21:15.594 DEBUG    bldeploy - -js0
                    02/09/12 14:21:15.594 DEBUG    bldeploy - -jr0
                    02/09/12 14:21:15.594 DEBUG    bldeploy - -jc0
                    02/09/12 14:21:15.594 DEBUG    bldeploy - -StartNew
                    02/09/12 14:21:15.594 DEBUG    bldeploy - /usr/nsh/NSH/sbin/bldeploy  - 8.1.0.295
                    02/09/12 14:21:15.594 INFO     bldeploy - Deployment job not in single-job mode. Reboot and single-user mode is not allowed
                    02/09/12 14:21:15.595 DEBUG    bldeploy - Cleanup staging area on failure
                    02/09/12 14:21:16.595 DEBUG    bldeploy - Utilizing configuration file: /var/tmp/stage/347fdc50f9c933e5b2b36da2112974d4/038e22eb019f3eecb5ceee05f590fb9c.cfg
                    02/09/12 14:21:16.595 DEBUG    bldeploy - Fresh start of deployment, deleting any pre-existing configuration file
                    02/09/12 14:21:16.598 DEBUG    bldeploy - Could not open file "/usr/nsh/NSH/params.txt" for reading
                    02/09/12 14:21:16.598 DEBUG    bldeploy -
                    DEPLOYNAME = 038e22eb019f3eecb5ceee05f590fb9c:
                    DEPLOYPATH = /var/tmp/stage/347fdc50f9c933e5b2b36da2112974d4:
                    FQHOST = usa0300ux841.apps.mc.xerox.com:
                    HOST = usa0300ux841:
                    HOSTIP = 13.129.6.41:
                    NAMESPACE = usa0300ux841.apps.mc.xerox.com:
                    ROLLBACKPATH = /usr/nsh/NSH/Transactions/038e22eb019f3eecb5ceee05f590fb9c:
                    RSCDIR = /usr/nsh/NSH:
                    XMLFILEPATH = /var/tmp/stage/347fdc50f9c933e5b2b36da2112974d4/bldeploy.xml:
                    02/09/12 14:21:16.606 DEBUG    bldeploy - Full command line /usr/nsh/NSH/sbin/bldeploy 038e22eb019f3eecb5ceee05f590fb9c -N="/var/tmp/stage/347fdc50f9c933e5b2b36da2112974d4" -P=usa0300ux841.apps.mc.xerox.com -Q=params.txt -PKG="reset%20passwd-51776.1" -V1 -RegAllCOM -UnregAllCOM -TreatLockedAsErr -js0 -jr0 -jc0
                    02/09/12 14:21:16.606 DEBUG    bldeploy - Validating existence of wait lock /usr/nsh/NSH/Transactions/locks/reboot.lck
                    02/09/12 14:21:16.606 DEBUG    bldeploy - Deployment running in multi-job mode
                    02/09/12 14:21:16.609 DEBUG    bldeploy - Read lock acquired release write lock
                    02/09/12 14:21:16.609 DEBUG    bldeploy - Acquired appropriate lock: /usr/nsh/NSH/Transactions/locks/reader/038e22eb019f3eecb5ceee05f590fb9c.lck
                    02/09/12 14:21:16.616 INFO     bldeploy - Bldeploy "reset passwd" UUID(038e22eb019f3eecb5ceee05f590fb9c) started using file /var/tmp/stage/347fdc50f9c933e5b2b36da2112974d4/bldeploy.xml with rollback directory /usr/nsh/NSH/Transactions/038e22eb019f3eecb5ceee05f590fb9c
                    02/09/12 14:21:16.618 INFO     bldeploy - Starting apply
                    02/09/12 14:21:16.619 DEBUG    bldeploy - [][] Starting pre-apply for BLPACKAGE
                    02/09/12 14:21:16.620 DEBUG    bldeploy - [][] Applying parent first id =
                    02/09/12 14:21:16.620 INFO     bldeploy - [][] Processing asset BLPACKAGE
                    02/09/12 14:21:16.630 DEBUG    bldeploy - [1][/tmp/Resetpassword.ksh] Applying parent first id = 1
                    02/09/12 14:21:16.630 INFO     bldeploy - [1][/tmp/Resetpassword.ksh] Processing asset FILE
                    02/09/12 14:21:16.630 DEBUG    bldeploy - [1][/tmp/Resetpassword.ksh] Top of FileAddUnix
                    02/09/12 14:21:16.630 DEBUG    bldeploy - [1][/tmp/Resetpassword.ksh] _CreateDirectory : /tmp/Resetpassword.ksh Top
                    02/09/12 14:21:16.630 DEBUG    bldeploy - [1][/tmp/Resetpassword.ksh] Using standard file.
                    02/09/12 14:21:16.631 DEBUG    bldeploy - [1][/tmp/Resetpassword.ksh] DEBUG - not a symlink
                    02/09/12 14:21:16.631 DEBUG    bldeploy - [1][/tmp/Resetpassword.ksh] IsFileExists(/tmp/Resetpassword.ksh) = 0
                    02/09/12 14:21:16.645 DEBUG    bldeploy - [1][/tmp/Resetpassword.ksh] Chmod /tmp/Resetpassword.ksh 555
                    02/09/12 14:21:16.645 DEBUG    bldeploy - [1][/tmp/Resetpassword.ksh] createTime=0 accessTime=0 modifyTime=1294931685
                    02/09/12 14:21:16.645 DEBUG    bldeploy - [1][/tmp/Resetpassword.ksh] Set time on file /tmp/Resetpassword.ksh
                    02/09/12 14:21:16.646 DEBUG    bldeploy - [1][/tmp/Resetpassword.ksh] FileAdd: Success FileName: /tmp/Resetpassword.ksh
                    02/09/12 14:21:16.647 DEBUG    bldeploy - [2][execute] Applying parent first id = 2
                    02/09/12 14:21:16.647 INFO     bldeploy - [2][execute] Processing asset EXTERNALCMD
                    02/09/12 14:21:16.647 INFO     bldeploy - [2][execute] Executing command: "/bin/ksh /tmp/Resetpassword.ksh"
                    02/09/12 14:21:16.648 DEBUG    bldeploy - [2][execute] chdir to PkgDir: '/var/tmp/stage/347fdc50f9c933e5b2b36da2112974d4/'
                    02/09/12 14:21:16.766 INFO     bldeploy - [2][execute] [stdout: 2]  passwd: password information changed for wu49544

                    02/09/12 14:21:16.778 DEBUG    bldeploy - [2][execute] chdir to PkgDir: '/'
                    02/09/12 14:21:16.778 DEBUG    bldeploy - [2][execute] Skipping storing software payload for rollback
                    02/09/12 14:21:16.780 DEBUG    bldeploy - Package items were processed
                    02/09/12 14:21:16.780 INFO     bldeploy - Apply Succeeded
                    02/09/12 14:21:16.782 DEBUG    bldeploy - Updating Package Tracking
                    02/09/12 14:21:17.003 DEBUG    bldeploy - Created DAAL registry with dir: /usr/nsh/NSH/daal
                    02/09/12 14:21:17.030 DEBUG    bldeploy - SharedLib: opening library file 0xfeed1198 "libdaalplugincontainer.so"
                    02/09/12 14:21:17.109 DEBUG    bldeploy - SharedLib: opening library file 0xfeed1890 "/usr/nsh/NSH/daal/Implementation/PackageTrackingRoot_libdaalpluginpackagetracking.so/libdaalpluginpackagetracking.so"
                    02/09/12 14:21:17.111 INFO     bldeploy - Initializing plugin globals
                    02/09/12 14:21:17.116 INFO     bldeploy - Initializing Plugin object
                    02/09/12 14:21:17.117 DEBUG    bldeploy - Opening database: /usr/nsh/NSH/Transactions/Database/package_tracking.db
                    02/09/12 14:21:17.153 DEBUG    bldeploy - === setAssetValues
                    02/09/12 14:21:17.153 DEBUG    bldeploy - set: packageName is changed
                    02/09/12 14:21:17.153 DEBUG    bldeploy - set: packageId is changed
                    02/09/12 14:21:17.153 DEBUG    bldeploy - set: packageVersion is changed
                    02/09/12 14:21:17.153 DEBUG    bldeploy - set: deviceName is changed
                    02/09/12 14:21:17.213 DEBUG    bldeploy - DeletePkg = 1 DeleteUndo = 0
                    02/09/12 14:21:17.216 DEBUG    bldeploy - Deleted the folder: /var/tmp/stage/347fdc50f9c933e5b2b36da2112974d4
                    02/09/12 14:21:17.218 DEBUG    bldeploy - Bldeploy done - nRet = 1 (Apply successful) exitCode = 0 (Deployment succeeded)

                    • 7. Re: Password push script of BL not working not updating the password
                      Bill Robinson

                      What version of bsa is this ?  appserver and target agent ?

                      • 8. Re: Password push script of BL not working not updating the password

                        Hi Bill,

                         

                        BL App server is 8.1 SP4 and target agent is 8.1.0.295. Target is Solaris 9 box.

                         

                         

                        Regards

                        Kapil Khanduja

                        • 9. Re: Password push script of BL not working not updating the password

                          Didn't think we used scripts for built-in solutions, but based ont he bldeploy log, we're using tmp/Resetpassword.ksh

                           

                          Kapil, can you capture that script at the time of execution. Let's review it, I think this would help in figuring out why it does not work for Solaris 9

                          • 10. Re: Password push script of BL not working not updating the password
                            Bill Robinson

                            I think that is a custom script – that does not look like the CO output in the bldeploy log.

                             

                            Kapil – have you tried to use our built-in password changing ?  live browse a server, go into ‘unix users’ and add one of the users to the depot as a blpacakge.  Open that package and change the action to change passwd, set the passwd you want and deploy that blpackage.

                            • 11. Re: Password push script of BL not working not updating the password
                              Jim Wilson

                              Being dealt with via support issue ISS04008405