loging issue "Your account has expired or has been locked." (463 Views)
Reply
Occasional Advisor
Panday Jee
Posts: 9
Registered: ‎04-06-2010
Message 1 of 4 (463 Views)

loging issue "Your account has expired or has been locked."

Hi Team,

 

I am using HP-UX 11.31 HAOE have a sap user adm.

When I am trying to rlogin to an other server below massage is appearing.

 

 

db:[/]# su - adm

 

db:adm> rlogin ap1 -l adm
Your account has expired or has been locked.
Connection closed.

 

Please help to resolve this issue.

Honored Contributor
Patrick Wallek
Posts: 13,777
Registered: ‎06-21-2000
Message 2 of 4 (452 Views)

Re: loging issue "Your account has expired or has been locked."

It appears as if the adm account on your AP1 server has been locked.

 

Log into the AP1 server, as root, and check the account.

 

How is the system set up?  Is it trusted?  Are you using the /etc/shadow file?  The method used to unlock the account is dependent on this.

Occasional Advisor
badgujar_ashish
Posts: 10
Registered: ‎07-08-2011
Message 3 of 4 (442 Views)

Re: loging issue "Your account has expired or has been locked."

go to sam--> users and account--> select user---> Action--> hit unlock user.

HP Pro
pradeep m
Posts: 154
Registered: ‎12-08-2010
Message 4 of 4 (435 Views)

Re: loging issue "Your account has expired or has been locked."

In case of a trusted system, use the below command to unlock the user account:

# /usr/lbin/modprpw -k user_name

 

If the root user account is locked, then you need to boot the system in single user mode and then run the below command to unlock the root user.

# /usr/lbin/modprpw -k root

Regards,
Pradeep

I am an HP Employee
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.