Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Panday Jee
Occasional Advisor

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.

3 REPLIES
Patrick Wallek
Honored Contributor

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.

badgujar_ashish
Occasional Advisor

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

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

pradeep m
HPE Pro

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
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details