Starting version 8.9.03, BMC Server Automation is renamed to TrueSight Server Automation. This space contains information about BMC Server Automation 8.9.02 and previous versions. For TrueSight Server Automation 8.9.03 and later releases, see TrueSight Server Automation 8.9.

Walkthrough: Changing the root password for a set of systems

BMC BladeLogic Server Automation (BSA) lets you design changes to server configurations and then deploy those changes simultaneously to multiple servers. For example, a common administrative task is changing the root password for Linux servers.

The topic includes the following sections:

The video at right demonstrates the steps in changing the root password on multiple servers.


In this example, we demonstrate how to change the root password for multiple Linux servers.

To accomplish this change, you browse a server to find the root password, package the password as a BLPackage, and modify the BLPackage by changing the value of the password. Finally, you deploy the BLPackage to target servers, which modifies the root password for those targets.

How to change the root password

For this walkthrough example, we have logged on as BLAdmin, the default superuser for BSA. 

In this example we are using BSA 8.5. Some earlier versions do not provide the Unix Users object used in this example.

 ProcedureExample screen

Browse the server objects for a UNIX-style server and select the UNIX Users object.

Right-click the root user and select Add To Depot As > BLPackage.
The Create BLPackage wizard opens. 

In the wizard:

  1. For Package Name, assign a name, such as Change root password.
  2. For Save in, choose a depot folder to store the BLPackage.
  3. Click Finish.


In the depot folder, right-click the BLPackage you just created and select Open.
The BLPackage opens for editing, at right. 


Under BLPackage, select root.
All assets for the selected object appear at right.  


Click in the Password field. For Value, enter a new password. For Confirm, enter the password again. Select File > Save and then close the BLPackage you are editing.


To enable the Password field, you may need set the Password State field to Empty or Disabled.


In the Depot folder, right-click the BLPackage you just modified, and select Deploy.
The New Deploy Job wizard opens. 

Make the following entries on the General panel of the Deploy Job wizard:

  1. For Name, enter a name for the Deploy Job, such as Deploy root password.
  2. Enter a description for the job.
  3. For Save in, specify a folder in the Jobs folder where the job should be saved.

  1. Click Next and then click Next again to display the Targets panel.
  2. Select the servers or server groups where you want to deploy the password change.
    In this example, we are deploying the change to a smart server group called Linux_All
  1. Click Next and then click Next again to display the Phases and Schedules panel.
  2. Select Execute Job Now.
  3. Click Finish.
    The job begins to execute. 

To monitor the progress of the job, see the Jobs in Progress tab at bottom right. It shows jobs and other tasks that are currently active.


In the Jobs folder, navigate to the Deploy job you just created. Right-click the job and select Show Results.

The job results show at right. A green check indicates success. 

Wrapping it up

In this walkthrough, you learned how to package a server configuration change and deploy it to multiple servers.

Where to go next

Walkthrough: Packaging applications with BLpackages

Was this page helpful? Yes No Submitting... Thank you