Skip to main content

Storage Exploration

  • Sitemap
  • About

Tag: UNIX – account management

All about Account Management in UNIX.

HP-UX – How to unlock account

October 24, 2015December 15, 2015 Regmen Leave a comment

This short article treats about locked account in HP-UX systems and provide explanation how to unlock account.

HP UX – Unlock account procedure

1) First check the reason of locked account. To do it we use getprpw command. The getprpw is responsible for obtaining and displaying information from protected password database.

[regmen@uxsys]/home/regmen>sudo /usr/lbin/getprpw -l regmen
uid=1004567, bootpw=NO, audid=144, audflg=1, mintm=-1, maxpwln=-1, exptm=-1, lftm=-1, spwchg=Fri Oct 23 10:26:36 2015, upwchg=Fri Oct 23 10:26:17 2015, acctexp=-1, llog=-1, expwarn=-1, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Mon Sep 28 14:36:32 2015, ulogint=Fri Oct 23 10:26:52 2015, sloginy=-1, culogin=9, uloginy=-1, umaxlntr=-1, alock=NO, lockout=0001000

According to MAN pages for getprpw we have got explanation about lockout argument.

      returns the reason for a lockout in a "bit" valued string,
			     where 0 = condition not present,  1  is  present.
			     The position, left to right represents:

			     1 past password lifetime
			     2 past last login time (inactive account)
			     3 past absolute account lifetime
			     4 exceeded unsuccessful login attempts
			     5 password required and a null password
			     6 admin lock
			     7 password is a *

As you can see argument lockout has a bit valued string. In discussed case it is 0001000, where 1 means that condition for that value is present. Reading from left to right we have bit 4th which means exceeded unsuccessful login attempts.
Read More

Links

  • About
  • Sitemap

Recent Posts

  • HP 3PAR CRC errors in correlation with Brocade SAN
  • HP 3PAR disk replacement
  • HP-UX – How to unlock account
  • HP 3PAR 7200 Simulator
  • 7-Mode Data ONTAP Simulator 8.2.3 – building lab

Categories

  • HP 3PAR (3)
    • HP 3PAR Simulator (1)
    • HP 3PAR Tech Notes (1)
    • HP 3PAR Troubleshooting (1)
  • NetApp 7-Mode (10)
    • NetApp 7-Mode Certifications (1)
    • NetApp 7-Mode Simulator ONTAP 7.3.6 (1)
    • NetApp 7-Mode Simulator ONTAP 8.2.3 (1)
    • NetApp 7-Mode Tech Notes (4)
    • NetApp 7-Mode Tricks and Tips (2)
    • NetApp 7-Mode Troubleshooting (1)
  • SAN Brocade (1)
    • SAN Brocade Troubleshooting (1)
  • UNIX (1)

Recent Comments

  • Michael Burg on HP 3PAR disk replacement
  • Ivan on HP 3PAR CRC errors in correlation with Brocade SAN
  • Marcos DeLima on HP 3PAR CRC errors in correlation with Brocade SAN
  • ESAM on HP 3PAR disk replacement
  • Tim on HP 3PAR CRC errors in correlation with Brocade SAN

Tag Cloud

ONTAP upgrade Failed disk UNIX HP 3PAR disk replacement CIFS NS0-155 NCDA RAID NFS mount VirtualBox MetroCluster NAS VMware share permissions Active Directory NetApp exam High availability ONTAP Simulator CRC errors Linux user management Brocade UNIX - account management HP UX CIFS shares Snapshot Brocade SAN NFS exportfs non-disruptive Home Lab Troubleshooting CentOS Connectivity issues NetApp 7-Mode HP 3PAR simulator Storage Certification HP 3PAR Windows Server SAN SAN Troubleshooting NFS Data ONTAP

Archives

  • January 2016
  • December 2015
  • October 2015
  • September 2015
  • June 2015
  • May 2015
  • April 2015
Storage Exploration All rights reserved. Theme by Colorlib Powered by WordPress