AIX login problem

Thread Tools Search this Thread
Operating Systems AIX AIX login problem
# 1  
Old 01-04-2008
AIX login problem

I have users at several remote locations that connect to a AIX 5.1 server using telnet. Last week the users at one location reported problems with logging into the server. After entering user ID and password the users get a blank screen. I have checked the user password, profile, and permissions all is in order. It is not just one user it is all users at this location. I have the users connect to Citrix or VPN they are able to login in using their user ID and password. This location has been live for over six months. All other locations have no issues some have been on line for several years. The server has been in place for about four years. Where else can I look problems?
# 2  
Old 01-04-2008
Does it take about 3 minutes, and then finally login?

Does this only happen to some client machines?

Get the IP address of the client who is trying to login then confirm you can do a reverse name lookup of their machine using "nslookup".
# 3  
Old 01-04-2008
Yup, once a user logs in (successful authentication) then this is logged to wtmp:

# /usr/sbin/acct/fwtmp </var/adm/wtmp | more

gus   pts/0    pts/0      7 471118 0000 0000 1169145986    Thu Jan 18 12:46:26 CST 2007

If there is a problem with reverse-resolving the IP to a hostname, then the login process will appear to hang until the problem is resolved (or until there is a timeout). I would guess that the authoritative DNS server for the remote site is down or not reachable from the primary site. You can prove this theory by adding the remote system(s) to /etc/hosts, but you must ensure that name-resolution order uses the hosts file first:

# 4  
Old 01-07-2008
Thanks for responding

The users never get logged in the session times out.
The problem is with all machines at this location.
Reverse name lookup did not work because the domain for this location was not added. I have had the domain added to DNS and now reverse name lookup is working.

The user information dose appear in wtmp when user attempts to login.
I did add the workstation to the host table but was still unable to login.

The users are still unable to login.
# 5  
Old 01-07-2008
The following summarizes the AIX login process:

* A user enters an id at the login prompt.
* getty starts the login program to check /etc/passwd and /etc/security/passwd.
* login starts a login shell.

Since the attempt is logged, I'd say it's likely an authentication problem. What is the authenication method for these users? Is it different from the other users? And what is the shell for these users?

If it is an authentication problem, then the failed logins should be listed here:

/usr/sbin/acct/fwtmp < /etc/security/failedlogin

It is possible that the logiles utmp, wtmp and failedlogin could impede the login process if corrupted, but that would tend to be a systemic problem and not just for a subset of users. Still, since the latter two logs grow without limit, this might be a good time to archive and clear them.
# 6  
Old 01-07-2008
You might also want to check the output of "lslicense". The number of simultaneous logged-in users is limited to this number (although you can change it with "smit chlicense").
# 7  
Old 01-07-2008
The authentication method is the same for all users.

All users use Korn shell.

There is not an entry in /etc/security/failedlogin for the user I tested with this morning. I do have a script setup to clean the wtmp file and now that I know about the failedlogin file I will set up a script to clean it.

The License limit is set to 500. I have about 150 to 170 users connected to the server at any given time.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Not able to login AIX server but able to login thru console.

Hi, i am able to login to AX server thru console but not able to login directly thru server. also the server is not ping-able with other server. filesystem is fine. and OS version is AIX 5.3. please let me know if you need any specific log. thx in advance. Scriptor (2 Replies)
Discussion started by: scriptor
2 Replies

2. AIX

AIX 7.1 Login Terminal

Hi there, I am a newbie in AIX. I have reboot the AIX today and then the CDE login screen disappear. :eek:I have reboot several times and still it only shows the terminal (lft0) with only green characters and black screen:confused:. Anyway I can have the CDE login screen back?:confused: Also, as... (5 Replies)
Discussion started by: sunnytai
5 Replies

3. AIX

User Account Login Login on your AIX server

I want to learn AIX. I would like to find someone who would be willing to give me a login to their AIX home lab server. My intent is to poke around and discover the similarities and differences of AIX compared to other *NIXs. I am a UNIX admin so I can think of what some immediate concerns may... (1 Reply)
Discussion started by: perl_in_my_shel
1 Replies

4. UNIX for Dummies Questions & Answers

Can't login on CDE AIX 4.2

Hi, can somebody please, please help me? After a power loss and server restart my server running AIX 4.2.2 could not boot. Following the procedure in my user guide I checked the hd's with # fsck -y /dev/hd1 # fsck -y /dev/hd2 # fsck -y /dev/hd3 # fsck -y /dev/hd4 # fsck -y /dev/hd9var ... (4 Replies)
Discussion started by: semso
4 Replies

5. AIX

Can't login on CDE AIX 4.2

Hi, can somebody please, please help me? After a power loss and server restart my server running AIX 4.2.2 could not boot. Following the procedure in my user guide I checked the hd's with # fsck -y /dev/hd1 # fsck -y /dev/hd2 # fsck -y /dev/hd3 # fsck -y /dev/hd4 # fsck -y /dev/hd9var I... (0 Replies)
Discussion started by: semso
0 Replies

6. AIX

user login problem & Files listing problem.

1) when user login to the server the session got colosed. How will resolve? 2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem? Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies

7. AIX

not able to login to aix

Aix version 5.2. We restarted the server last night. after that we are not able to login from the workstations. we are just able to login in the console. when we try to login thru' netterm or telnet it gives the following error. "password required, but none set". We are able to ping... (1 Reply)
Discussion started by: mjdarm
1 Replies

8. AIX

Problem with login on AIX 5306

Hello Guys, I am working on AIX 5306,when I ssh on to the server it just hangs.but I can still run commands remotely through ssh without logging in to the server. I am not able to find out the problem,it's not only ssh even the telnet or normal login does not want to work it just hangs.when I... (6 Replies)
Discussion started by: noori
6 Replies

9. UNIX for Dummies Questions & Answers

AIX Unable to Login

Was OK on AIX5.2. Have installed AIX 5.3 ML02 and now only root can log in. Other users get "You are not allowed to login at this time." Once in as root, it's possible to su or 'su -' to other users. All user parameters are OK. (0 Replies)
Discussion started by: skinthegoat
0 Replies

10. AIX

Implicit login in AIX

only wanted to know .. if I have some tivoli jobs running with different user .. will this mean that everytime the job invokes .. the .profile runs for that user ... or is it that the .profile runs only at explicit LOGINs ... e.g if a cron calls a job under some user, does it run the .profile of... (1 Reply)
Discussion started by: rajesh_149
1 Replies
Login or Register to Ask a Question