- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: New users are not able to login in 11.11i
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2011 10:28 PM
тАО06-14-2011 10:28 PM
Re: New users are not able to login in 11.11i
FYI : All old users are able to login in short time frame.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2011 11:36 PM
тАО06-14-2011 11:36 PM
Re: New users are not able to login in 11.11i
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
- Tags:
- wtmps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2011 08:09 AM
тАО06-15-2011 08:09 AM
Re: New users are not able to login in 11.11i
It works..thanks for time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2011 08:37 AM
тАО06-15-2011 08:37 AM
Re: New users are not able to login in 11.11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2011 08:50 AM - last edited on тАО08-02-2011 07:03 AM by Kevin_Paul
тАО06-15-2011 08:50 AM - last edited on тАО08-02-2011 07:03 AM by Kevin_Paul
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...
- « Previous
-
- 1
- 2
- Next »