loging issue "Your account has expired or has been locked." (605 Views)
Reply
Occasional Advisor
Posts: 9
Registered: ‎04-06-2010
Message 1 of 4 (605 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
Posts: 13,903
Registered: ‎06-21-2000
Message 2 of 4 (594 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
Posts: 10
Registered: ‎07-08-2011
Message 3 of 4 (584 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
Posts: 158
Registered: ‎12-08-2010
Message 4 of 4 (577 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
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


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.