- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Max length of login name
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
Forums
Discussions
Discussions
Discussions
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
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-10-2002 01:02 PM
06-10-2002 01:02 PM
N4000,11.0
Is there any way to increase the maximum length of a login name? Currently our system is 8 and would like to increase it. We'd like to avoid cross reference tables between win2k and hp.
Thanks,
Luis
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 01:07 PM
06-10-2002 01:07 PM
Re: Max length of login name
You can go larger...BUT the better approach is to shorten the NT account names to 8.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 01:08 PM
06-10-2002 01:08 PM
Re: Max length of login name
The user login name's length is limited to 8-bytes. Look at /usr/include/utmp.h or the man pages for utmp(4).
found some information in /usr/include/limits.h
/*
* The size of the storage required for a login name, in bytes,
* including the terminating null.
*/
# define _POSIX_LOGIN_NAME_MAX 9
/*
* Maximum Length of a login name.
*/
# define LOGIN_NAME_MAX 64
So general 8 chars is the maximum but HP-UX will recognize up to 63 chars.
I suppose a general consensus here would be to stick to a maximum of 8 char for compatibility purpose between open systems...
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 01:16 PM
06-10-2002 01:16 PM
Re: Max length of login name
Here's a good thread dealing w/pros & cons of using longer names as well as refs to some TKB docs.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x70b8cf38d6bdd5118ff10090279cd0f9,00.html
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 02:39 PM