Successful user login, yet system claims invalid info


 
Thread Tools Search this Thread
Operating Systems AIX Successful user login, yet system claims invalid info
# 1  
Old 10-24-2012
Successful user login, yet system claims invalid info

I have four AIX 6.1.7.4 systems freshly built and ready for our DBAs to do their work. Of the three one runs into an odd issue while logging in as himself, using Putty with ssh protocols. He logs in successfully, but also gets the following error message:

[compat]: 3004-300 You entered an invalid login name or password.

But instead of dumping him, it lets him right in and proceeds as normal. There's nothing in his .profile that has him trying to be someone else and his entry in /ets/security/user is identical to systems in production. If I su from root to his ID, I don't see the message.

What am I missing here?
# 2  
Old 10-24-2012
Might it be that the username is simply too long? I encountered this issue only on AIX 5.3 but maybe this is still the case. Check it this way:

Code:
lsattr -El sys0 -a max_logname

If this is the culprit change it the usual way:

Code:
chdev -l sys0 -a max_logname=<number>

You will then need to reboot for these change to take effect.

I hope this helps.

bakunin
# 3  
Old 10-24-2012
Bakunin,

Thanks for the advice. Unfortunately, the usernames are set to a standardized format, so length is not an issue. Also, we don't see this issue on our 6.1.5 servers, just the servers at 6100-07-04-1216.

My colleagues think it's an issue with a PAM module working with ssh. We thought we had a fix but it may not have taken (don't have details on the fix at this time). It's not breaking anything but seeing a false message like that is... well... Smilie

Mike
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to enforce user to Enter text when login to a UNIX / Linux system?

Hi. I inject my tracklogin.sh script in the profile of each user. $ more .profile ./tracklogin.sh # This is the default standard profile provided to a user. MAIL=/usr/mail/${LOGNAME:?} bash-3.2$ more tracklogin.sh #!/bin/bash tdate=$(date +"%d%m%y") mkdir -p /tmp/root_log... (20 Replies)
Discussion started by: mohtashims
20 Replies

2. Solaris

Eeprom security-mode=command cause invalid login

Hi there, In Solaris 8. I have accidentally set the eeprom security-mode=command because I followed the CIS benchmark guideline. Initally, it was eeprom security-mode=none. I have tried to login with the correct password numerous time and it still say permission denied. I have tried to login... (4 Replies)
Discussion started by: alvinoo
4 Replies

3. HP-UX

telnet login successful ,but ssh can not login

why I can login by telnet using root account but when i use login by ssh using root account it is not successful ,is it different password i am sure ssh service is started (2 Replies)
Discussion started by: alert0919
2 Replies

4. Solaris

How to view only successful login?

Hi all, I have to view only success full login attempts . View who are all logged in correctly , and where it can be stored? Thanks in advance Gnanavel (3 Replies)
Discussion started by: Gnanavel
3 Replies

5. UNIX for Advanced & Expert Users

Connection closing immediatly after successful login

When ssh'ing into certain Unix boxes I'm seeing two errors that appear immediately after entering the password I've never seen. After the error message is displayed the connection closes immediately. The first is “/bin/ksh: Not owner” after which the connection is closed. And, “Read from remote... (2 Replies)
Discussion started by: twk
2 Replies

6. AIX

Invalid login attempts

How can I see the number of invalid login attempts of a user? Thanks, (9 Replies)
Discussion started by: agasamapetilon
9 Replies

7. Solaris

How to check the last login user were doing in the system

Hi, I'm new to solaris/ Unix and would like to know how to check in the system what was the last login user were doing. Is there any way to check this? Thanks in advanced. (1 Reply)
Discussion started by: raziayub
1 Replies

8. AIX

AIX; Auto clearing of 'too many invalid login attempts by user'

Does anyone have a good script / cron job that handles this? I have looked in smit and see it is clearing this count with: chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s '{userid}' However when I looked around to find ways to automate this I have not found an easy... (0 Replies)
Discussion started by: Keith Johnson
0 Replies

9. Solaris

invalid login attempts...

I am wondering if solaris captures id's associated w/invalid login attempts? when I try to login as "test1" several (3-5) times, I do not find any userID info under "/var/adm" files: utmpx wtmpx messages lastlog Is there another location/log I should be checking? Is it necessary for... (6 Replies)
Discussion started by: mr_manny
6 Replies
Login or Register to Ask a Question