HP unix modify root password and reset password to set user password period

1. Unlock for HP unix users

 # userdbset -d user_name auth_failures

2. Change the password

# passwd user_name

3. Set the user password to never expire

   Modify the user corresponding to the /etc/shadow file

  

4. HPVM system to modify root password

 1. Enter the HPVM management machine

    #hpvmstatus //View the status of each virtual machine

    #hpvmstart -P VMname //Enter the MP card of the virtual machine

        vMP > pc -on/off (on/off)

    --> co //Enter the system

       HP-UX Boot HDD

   --> 选择 EFI shell [Built-in]

      Boot option maintenance menu

   --> Enter "fs0:"

   --> Continue to enter "hpux"

       press any key

  --> boot -is vmunix (boot single-user mode)

    # mount -a (can not mount, execute fsck)

   #passwd root (modify new password)

   Whether it is a trust system, if yes, execute # /etc/tsconvert -r (change to non-trust mode)

   # init 3 (boot multi-user mode)

 

 2. hunix shutdown restart command

  #shutdown -hy 0 (shutdown)

  #shutdown -ry 0 (restart)

 

 

  

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325180817&siteId=291194637