How to Change the Linux Password

This document explain how to change the intial linux password

Syntax

$ passwd

$ unix current password

$ new password

$ retype password

Example

$ passwd

$ unix current password <old_password>

$ new password <new_password>

$ retype password <new_password>

linuxpass

Confirmation message will appear

$ passwd: all authentication tokens updated successfully

  • 62
  • 11-Aug-2015
  • 445 Views