Overview
Use this procedure to verify the root password status before proceeding with the Cisco IoT FND upgrade. If the root password has expired or is not set, use the instructions provided to reset it.
The root password must be valid and active before running the Cisco IoT FND upgrade. During the upgrade, scripts invoke sudo to execute multiple commands. If the root password has expired or is not set, sudo authentication fails. As a result, the upgrade stops..
Before you begin
Use these steps to verify the status of the root password and reset it if it has expired:
Procedure
| 1. | Enter the ESXi server's Internet Protocol (IP) address in a web browser and log in with your ESXi credentials. |
|||||||
| 2. | From the left pane, select the Cisco IoT FND VM. |
|||||||
| 3. | Click Console and select Open Console in new tab. The RHEL server launches. |
|||||||
| 4. | Log in with your Cisco IoT FND server user credentials. |
|||||||
| 5. | Access the Cisco IoT FND Shell terminal. |
|||||||
| 6. | Enter the following command to verify the root password status: Example:
|
|||||||
| 7. | Run the following command to reset the root password: Example:
|
|||||||
| 8. | Run the following command to verify the sudo command. Example:
|
After the root password is active, sudo commands will run successfully without authentication errors during the upgrade.