System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

New users are not able to login in 11.11i

Roopesh Nair
Occasional Advisor

New users are not able to login in 11.11i

Hello Guys ,

New users are not able to login in to server. all old users are not facing any issue so far.

syslog is giving an entry saying the new user is logged in via ssh2. but in who output that user is not showing...!

model : 9000/800/SD32B

Version : 11.11i

pls guide..
Cheers Roopesh KP
14 REPLIES
Torsten.
Acclaimed Contributor

Re: New users are not able to login in 11.11i

So try to find out what is different for new users compared to the "old" users ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Roopesh Nair
Occasional Advisor

Re: New users are not able to login in 11.11i

Hello Tor ,

no Major difference found..any guess..?
Torsten.
Acclaimed Contributor

Re: New users are not able to login in 11.11i

home directory, default shell, NIS/LDAP/whatever, different software on the clients (ssh), ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Roopesh Nair
Occasional Advisor

Re: New users are not able to login in 11.11i

No Issue found on the said files...as issue exist If I am deleting a user without -r and recreating the same.

pls suggest more..!
Torsten.
Acclaimed Contributor

Re: New users are not able to login in 11.11i

You need to tell more details about the problem ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Roopesh Nair
Occasional Advisor

Re: New users are not able to login in 11.11i

Hi Tor ,

The Issue facing is ..

1.New Users are not able to get prompt.
2. users are getting created and able to switch to their shell using su - username from root login
3. it is getting fetched in syslog saying user logged in via ssh2
4. in # who command output user is not showing as logged in
5. old users are also having same issue if i am recreating them with old home directory.(userdel without -r option)
6. All existing users are logging in without any time delay.

Think this will help you out..!

Thanks for Time.

Roopesh
Shibin_2
Honored Contributor

Re: New users are not able to login in 11.11i

>> 1.New Users are not able to get prompt.
>> 2. users are getting created and able to switch to their shell using su - username from root login

Have you cross checked the .profile of old user and new user?

When you do su - username, it bypass .profile.
Regards
Shibin
Roopesh Nair
Occasional Advisor

Re: New users are not able to login in 11.11i

Hi Shibin ,

User is getting logged in after 30--45 minutes only..any guess..?

Shibin_2
Honored Contributor

Re: New users are not able to login in 11.11i

30-45 min is very huge delay.

Are you running out of space? Check the space in / and /var. May be you can clear the wtmp logs, it may be very huge.

Are you having problems like proc table nearly full ?
Regards
Shibin
Roopesh Nair
Occasional Advisor

Re: New users are not able to login in 11.11i

All Rootvg mount points are OK in size. and there is no errors found in syslog for any nproc errors. in nfile table its showing lot of free pools.

FYI : All old users are able to login in short time frame.

Matti_Kurkela
Honored Contributor

Re: New users are not able to login in 11.11i

Perhaps your wtmp file has grown really huge?

A record of all logins are stored in /var/adm/wtmp file: new records are just appended to the end of the file, so it's in chronological order.

When a user logs in, the system searches backwards from the end of the wtmp file to find the last login time of the user. The search terminates as soon as a previous login record is found; if the user has not logged in before, the system needs to search all the way to the beginning of the file, which takes a noticeable amount of time if the wtmp file is big.

As the search works in reverse, it's not very efficient (it does the opposite of what most disk caching algorithms expect). Nevertheless, if it takes more than 30 minutes for a new user to log in on a Superdome and this is the cause, then your system must be rather busy and/or your wtmp file might be really, really huge. You should consider trimming it once in a while.

SAM includes a command to trim the log files (including the wtmp file) in the "Routine Tasks" section, or you can move the old file away and create an empty one in its place (make sure the permissions & ownerships match the original).

If you need the information stored in the old wtmp file, commands like "last" have the -f option: you can use it to read information from the file you specify instead of the current wtmp file.

MK
MK
Roopesh Nair
Occasional Advisor

Re: New users are not able to login in 11.11i

Thanks Matti.

It works..thanks for time.
Roopesh Nair
Occasional Advisor

Re: New users are not able to login in 11.11i

Thanks Guys..Closing this disc as Its working fine after trimming btmp.
James R. Ferguson
Acclaimed Contributor

Re: New users are not able to login in 11.11i

Roopesh:

The appropriate way to say thanks (and to help future readers find solutions to their problems!) is to follow this:

http://h30499.www3.hp.com/t5/help/faqpage/faq-category-id/kudos#kudos

 

...JRF...