Users kicked out after changing their password in an ssh session


 
Thread Tools Search this Thread
Operating Systems AIX Users kicked out after changing their password in an ssh session
# 1  
Old 09-06-2010
Users kicked out after changing their password in an ssh session

Hi

I have experienced this for years and just put up with it. However a client of mine now wants to stop this happening to their users. I have scoured the internet but can find no reference to the problem. I tried switching to PAM authentication thinking this might help but it made no difference.

Anyone out there in AIX land know how to fix this please?
# 2  
Old 09-06-2010
hm with local passwd/shadow auth the user remains logged in

but with ldap auth in my case tivoli directory server 6, the user gets disconnected after password change, and has to login again with his new password

I thought this is a normal behaviour, experienced this for three years now

since this must be done once every 3 months, it's no problem for my users


perhaps tell them it's a normal behaviour, I think it is Smilie


do you use ldap?
# 3  
Old 09-06-2010
Funksen

Many thanks for the feedback. Now this is what I do not understand, there is no trace of LDAP anywhere but it still happens. From my own experience I cannot remember whether LDAP was involved previously or not but as I said in my original post I just accepted it as normal.

So with the password being verified locally why is it still "kicking them out"?

Sorry but what did you mean by "local passwd/shadow auth"?
# 4  
Old 09-06-2010
unfortunately I can't tell you why the users get kicked after password change
perhaps you want to open an IBM software call, and ask if it's normal


passwd/shadow auth is the standard AIX authentication (and many more files are involved)
you have your user data locally on the machine


with ldap, the user data is stored on a ldap server
the advantage: you have your data centralized, it's easy to maintain, and you may use the same user database on all of your machines

you can check this in /etc/security/user,
stanza default
Code:
SYSTEM =

if it's LDAP, or "compat/files or LDAP", then you use an ldap-server
# 5  
Old 09-06-2010
Ah sorry I was being ever so slghtly thick! /etc/passwd and /etc/shadow! Got it now. Also thanks for the suggestion /etc/security/user but I am sure it will be set to local etc.
# 6  
Old 09-06-2010
well my mistake, since there is no /etc/shadow on AIX *gg*

it's /etc/security/passwd

get confused with 4 different OS to support Smilie



perhaps this issue is ssh related? ever tried if the problem occurs with rsh/telnet?
# 7  
Old 09-06-2010
Hey no mistake I have the same problem (AIX, HP-UX, SOLARIS etc.) It did rather confuse me thinking in an AIX way, then the light came on and I realised what you meant!

Thanks for your help!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Users getting kicked out of sessions

We have an old (11.11) HP-UX system. A couple of months ago, our customers started having problems with their logins. After sitting idle for roughly an hour, their screens would lock up and they would be kicked out of the system. This happens if they are in the application or on the command... (2 Replies)
Discussion started by: slkdnichols
2 Replies

2. AIX

SSH session closes after typing correct password

hi guys need some help. when ever i'm login ssh to aix server session always closed. when trying t0 type wrong password the session still continues, but we tried the correct password it automatically ends. what could be the problem to this please see .profile details ... (6 Replies)
Discussion started by: bocha
6 Replies

3. AIX

AIX 5.3 : Limitation to 1 telnet session for some users

Hi, I search the way to limit, for a group on a AIX 5.3, one telnet session by user (Simultaneous). I search a lot in /etc/security but the only way found is with the pam authentication that i not use. No solution found also in smit menu... Thanks for your help. (2 Replies)
Discussion started by: feilong
2 Replies

4. HP-UX

ssh session getting hung (smilar to hpux telnet session is getting hung after about 15 minutes)

Our network administrators implemented some sort of check to kill idle sessions and now burden is on us to run some sort of keep alive. Client based keep alive doesn't do a very good job. I have same issue with ssh. Does solution 2 provided above apply for ssh sessions also? (1 Reply)
Discussion started by: yoda9691
1 Replies

5. Shell Programming and Scripting

could not send commands SSH session with Net::SSH::Expect

I am using Net::SSH::Expect to connect to the device(iLO) with SSH. After the $ssh->login() I'm able to view the prompt, but not able to send any coommands. With the putty I can connect to the device and execute the commands without any issues. Here is the sample script my $ssh =... (0 Replies)
Discussion started by: hansini
0 Replies

6. Solaris

Password accepted but kicked out

The Sun Solaris x86 system seemed to accept my username and password when I do SSH, but then the login prompt went away or hang. What happened? (8 Replies)
Discussion started by: conandor
8 Replies

7. Shell Programming and Scripting

automating ssh session with password

Hi Can anyone help me in automate a ssh session with password using shell script (7 Replies)
Discussion started by: raghav288
7 Replies

8. UNIX for Advanced & Expert Users

SSH prompts password for non identical users

host1 & host2 : Solaris 10 - SPARC server From host1 able to ssh to host2 as same user with out password prompt. But, when ssh to different user in host2, it prompts for password DETAILS ======= In host1: 1) logged as root 2) ssh-keygen -t dsa -b 1024 (no pass phrase) 3)... (5 Replies)
Discussion started by: vjkatsun
5 Replies

9. AIX

Users Are Getting Kicked out of 2Hr Sessions

:confused:We've had close to 100 calls about users logging into our AIX server. The users open up about 3 to 5 sessions in the server. After 2hrs of idle time, users are frozen or stuck in the IBM UniVerse Application. We (system administrators) have been blaming the application (which we'll take... (2 Replies)
Discussion started by: Sarccastik Dude
2 Replies

10. UNIX for Dummies Questions & Answers

Changing date per session

Hello Can user change his date ( date -u ) and not being as root? i need it for testing. (1 Reply)
Discussion started by: umen
1 Replies
Login or Register to Ask a Question