1834603 Members
4234 Online
110069 Solutions
New Discussion

Re: login disappeared

 
SOLVED
Go to solution
S.S.
Super Advisor

login disappeared

Dear Experts,

Today when i tried to login to my account from HP-ux server using ssh; after login to the server the window was disappeared. I tried for 2 time and it was disappeared. Later i logged to the server by using MP and checked the Accounts using sam that my account has been expired, note that for my account there was no password aging. Also i have observed the other user accounts also that there accounts has been expired.
May i know what happened and why the user acccounts has been expired?

Kindly help me.
Thank you.
8 REPLIES 8
Dennis Handly
Acclaimed Contributor

Re: login disappeared

Did you convert to trusted recently?
S.S.
Super Advisor

Re: login disappeared

No Dennis. It was converted to trusted long back.

Yesterday, i have made some testing for the sftp password less. Under my account i have generated a key.
Any away is related due to because of this?
Dennis Handly
Acclaimed Contributor

Re: login disappeared

>I have made some testing for the sftp password less.

Did it expire or get locked out because too many bad passwords?
S.S.
Super Advisor

Re: login disappeared

It is locked, you are right. But how about for the other users there status also the same. I have checked in sam.
Dennis Handly
Acclaimed Contributor

Re: login disappeared

>how about for the other users, their status also the same.

You can use lastb(1) to check when they were bad.
Kapil Jha
Honored Contributor

Re: login disappeared

I faced the same issue, but I had passwd aging and so it got locked,
can you please check if u really don have it expired, anywhich ways u says it logs in and disappears....
whats happneing when u trying this in MP is shell getting exit everytime.

If yes you may have to see the sanity of .profile file.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Horia Chirculescu
Honored Contributor

Re: login disappeared

>Under my account i have generated a key.
Any away is related due to because of this?

If you generated the key only on your account and all ssh related tests were performed on that account then only this account could be locked if too many unsuccessful login attempts were made.

Horia.

Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor
Solution

Re: login disappeared

In order to find out what it is going on, you could enable debugging (as a general rule). For sshd, debugging is enabled by starting the sshd with -d option. You could get more verbose messages if you would increase the debugging level by specifying 2 or max. 3 times the -d option.

Of course in order to do that, you must log in using MP, stop the running sshd and then manually start /usr/sbin/sshd -d

Then attempt a ssh connection from another station. You must monitor syslog output:

tail -f /var/adm/syslog/syslog.log

Horia.
Best regards from Romania,
Horia.