Client Management Suite

 View Only

Software Delivery Bulk Password Change (NS6) 

Oct 01, 2009 04:47 PM

Our password policy states that all passwords must be changed on some regular basis.  We use two particular accounts for software delivery so there are lots of entries for those users.  I found directions for updating passwords in Deployment Server but not for NS so I wanted to share.  I tried to figure out what hash was being used, since that would alleviate the need to change the password in a software program and then look it up, but the hash is non-standard.

The first step is to open a software delivery package.  From there go to the Programs tab, set the new password for the user, and save the changes.  Use the query below to return the new hashed password.  The query also returns some basic software information to make sure you are looking at the correct program.  If there are multiple programs to a package you want the one package with the different password than the others.

select swdpackage.name as [Package Name], swdprogram.name as [Program Name], CommandLine, [User Name], [User Domain], Password
from swdprogram
join swdpackage
on swdpackage.packageid = swdprogram.packageid
where password != ''
and swdpackage.name = 'insert package name here'

Once you are satisfied that you have the correct password from the correct package run the query below to update the password for that user for all programs.

update swdprogram
set password = (
select password
from swdprogram
join swdpackage
on swdpackage.packageid = swdprogram.packageid
where password != ''
and swdpackage.name = 'insert page name here' -- should be the same as the package name above
and swdprogram.name = 'insert program name here'
)
where [user name] = 'insert username here'

This can be repeated as required for other user credentials.

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Oct 08, 2009 12:22 PM

thanks for burning the midnight oil to dream it up!

Oct 02, 2009 01:39 PM

Nice work Ryan!  We run most of our installs as SYSTEM, but there have been a few times I wondered about a good way to update this. 

Oct 01, 2009 08:02 PM

Nice tip thank you!

Related Entries and Links

No Related Resource entered.