BMC Communities: Message List - BLpackage change password for AIXhttps://communities.bmc.com/community/bmcdn/truesight-server-automation?view=discussions
Most recent forum messagesenSat, 15 Nov 2014 15:10:44 GMTJive Engage 8.0.2.1 (http://jivesoftware.com/products/)2014-11-15T15:10:44ZenRe: BLpackage change password for AIXhttps://communities.bmc.com/message/487705?tstart=0#487705
<!-- [DocumentBodyStart:32bdce31-2d61-4f9e-b50b-cbde411ef1e8] --><div class="jive-rendered-content"><p>Unfortunately no.&#160; As far as I know manually, you have to go kadmin.local and do:&#160; cpw -cp &lt;new password&gt; &lt;username&gt; then do a modprinc -needchange &lt;username/principal&gt;.</p><p>wondering if someone has an experience writing up a script to automate above at same time elevate to kadmin.local then run the script within BL.&#160; </p></div><!-- [DocumentBodyEnd:32bdce31-2d61-4f9e-b50b-cbde411ef1e8] --><img src='/beacon?t=1591527364226' />Sat, 15 Nov 2014 15:10:44 GMTcommunities_update@bmc.comhttps://communities.bmc.com/message/487705?tstart=0#4877052014-11-15T15:10:44Z5 years 7 months ago0Re: BLpackage change password for AIXhttps://communities.bmc.com/message/487714?tstart=0#487714
<!-- [DocumentBodyStart:129d8ace-3148-4e32-9148-b23100b72e78] --><div class="jive-rendered-content"><p>Can you change a password that&#8217;s stored in Kerberos w/ the normal passwd change utilities ?</p></div><!-- [DocumentBodyEnd:129d8ace-3148-4e32-9148-b23100b72e78] -->Fri, 14 Nov 2014 23:59:55 GMTcommunities_update@bmc.comhttps://communities.bmc.com/message/487714?tstart=0#4877142014-11-14T23:59:55Z5 years 7 months ago10Re: BLpackage change password for AIXhttps://communities.bmc.com/message/487650?tstart=0#487650
<!-- [DocumentBodyStart:77139116-c6a9-4843-adaf-616cbbd9c551] --><div class="jive-rendered-content"><p>it works on a standalone AIX server.&#160; How about a server or servers using kerberos authentication.&#160; Has anybody have a solution via BL package or job?</p></div><!-- [DocumentBodyEnd:77139116-c6a9-4843-adaf-616cbbd9c551] -->Fri, 14 Nov 2014 22:28:58 GMTcommunities_update@bmc.comhttps://communities.bmc.com/message/487650?tstart=0#4876502014-11-14T22:28:58Z5 years 7 months ago20Re: BLpackage change password for AIXhttps://communities.bmc.com/message/487532?tstart=0#487532
<!-- [DocumentBodyStart:0bc7c97b-de1c-4e4c-9ab3-a5c0ccad9b04] --><div class="jive-rendered-content"><p>I don't think you can use the built-in user object in conjunction with an encrypted property (any property in fact) for the password. That means you need to hard-code the password into the package as opposed to make it available to update at deploy time.</p></div><!-- [DocumentBodyEnd:0bc7c97b-de1c-4e4c-9ab3-a5c0ccad9b04] -->Fri, 14 Nov 2014 15:29:02 GMTcommunities_update@bmc.comhttps://communities.bmc.com/message/487532?tstart=0#4875322014-11-14T15:29:02Z5 years 7 months ago30Re: BLpackage change password for AIXhttps://communities.bmc.com/message/486031?tstart=0#486031
<!-- [DocumentBodyStart:ad52c8ba-b511-48eb-8fe2-271dbb7ba6fe] --><div class="jive-rendered-content"><p>as opposed to using the built-in functionality w/ the 'UnixUsers' object ?</p></div><!-- [DocumentBodyEnd:ad52c8ba-b511-48eb-8fe2-271dbb7ba6fe] -->Mon, 10 Nov 2014 12:40:54 GMTcommunities_update@bmc.comhttps://communities.bmc.com/message/486031?tstart=0#4860312014-11-10T12:40:54Z5 years 7 months ago40Re: BLpackage change password for AIXhttps://communities.bmc.com/message/485960?tstart=0#485960
<!-- [DocumentBodyStart:721e023c-bbef-4f11-8a2c-01b7fa4afc88] --><div class="jive-rendered-content"><p>It should also work using NSH Script job . I am not sure whether we get encryped string option in NSH script parameter. </p><p>Can you share NSH Script log messages ? </p></div><!-- [DocumentBodyEnd:721e023c-bbef-4f11-8a2c-01b7fa4afc88] -->Mon, 10 Nov 2014 01:27:50 GMTcommunities_update@bmc.comhttps://communities.bmc.com/message/485960?tstart=0#4859602014-11-10T01:27:50Z5 years 7 months ago0Re: BLpackage change password for AIXhttps://communities.bmc.com/message/485959?tstart=0#485959
<!-- [DocumentBodyStart:127b39ea-6e80-4889-a8e8-2fb53c37c9ec] --><div class="jive-rendered-content"><p>You can use BLPapcakge. Add username and password as Local properties to package. Also you can choose encrypted string for password. </p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>add external command::- </p><p>echo ??username??:??password?? | chpasswd </p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>Create a deploy job using this package.&#160; Provide username and password in deploy job.</p></div><!-- [DocumentBodyEnd:127b39ea-6e80-4889-a8e8-2fb53c37c9ec] -->Mon, 10 Nov 2014 01:26:15 GMTcommunities_update@bmc.comhttps://communities.bmc.com/message/485959?tstart=0#4859592014-11-10T01:26:15Z5 years 7 months ago50Re: BLpackage change password for AIXhttps://communities.bmc.com/message/485843?tstart=0#485843
<!-- [DocumentBodyStart:8f995f8d-001d-487a-a50d-c211f8a60b9d] --><div class="jive-rendered-content"><p>Olivier, That is exactly what I encountered.&#160; I did wrote a one line script with a simple </p><p>"echo username:password | chpassword"&#160;&#160;&#160;&#160;&#160;&#160; and have custom fields&#160; $$username$$ and $$password$$&#160; however it is failing.&#160;&#160; i ran the script on a box:&#160;&#160;&#160; test_ch_passwd.nsh &lt;username&gt; &lt;password&gt; and works.&#160;&#160;&#160; i am still scratching my head.</p></div><!-- [DocumentBodyEnd:8f995f8d-001d-487a-a50d-c211f8a60b9d] -->Fri, 07 Nov 2014 20:14:06 GMTcommunities_update@bmc.comhttps://communities.bmc.com/message/485843?tstart=0#4858432014-11-07T20:14:06Z5 years 7 months ago60Re: BLpackage change password for AIXhttps://communities.bmc.com/message/485798?tstart=0#485798
<!-- [DocumentBodyStart:c0b5a52d-3d86-4861-a989-3620b64ec571] --><div class="jive-rendered-content"><p>You can use Local properties in your BLPackage to expose inputs that can be overridden/filled in at Job execution time. That would for example allow you to specify which user you want to update.</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>The limitation IMO is that you cannot use properties in the password field of the user object, which means you would still need to either hard-code the password in the package or allow your operator to edit the package, which brings you back at the initial situation.</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>You could possibly use a script instead or if you want to stick to the BLPackage, to write an external command in the package.</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>A last option would be to use the live browse of the server and right click on the user you want to update.</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>Olivier.</p></div><!-- [DocumentBodyEnd:c0b5a52d-3d86-4861-a989-3620b64ec571] -->Fri, 07 Nov 2014 17:05:50 GMTcommunities_update@bmc.comhttps://communities.bmc.com/message/485798?tstart=0#4857982014-11-07T17:05:50Z5 years 7 months ago70Re: BLpackage change password for AIXhttps://communities.bmc.com/message/485520?tstart=0#485520
<!-- [DocumentBodyStart:48bec2bb-eba3-4231-b220-cc83b1a9633e] --><div class="jive-rendered-content"><p>thanks for the reply Swapnil it pointed me to the right direction (after writing an NSH script).&#160; However, I would like to give this BL job to help desk and do not want them access to the depot package but only on the job. how can you have an insertable field for the user and password on the job?</p></div><!-- [DocumentBodyEnd:48bec2bb-eba3-4231-b220-cc83b1a9633e] -->Thu, 06 Nov 2014 20:47:22 GMTcommunities_update@bmc.comhttps://communities.bmc.com/message/485520?tstart=0#4855202014-11-06T20:47:22Z5 years 7 months ago80