GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Userid length restriction?
Operating System - HP-UX
1843400
Members
3440
Online
110215
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-13-2002 05:30 AM
06-13-2002 05:30 AM
Does anyone know if there is a restriction on the length of usernames in HPUX11?
Rgds
Michael
Rgds
Michael
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 05:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 05:39 AM
06-13-2002 05:39 AM
Re: Userid length restriction?
Hi,
Its better to keep it to 8 characters only. Maximum limit is 63 characters.
Piyush
Its better to keep it to 8 characters only. Maximum limit is 63 characters.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 05:42 AM
06-13-2002 05:42 AM
Re: Userid length restriction?
Hi,
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
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
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP