HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Implement long usernames in HP-UX 10.20
Operating System - HP-UX
1826437
Members
4080
Online
109692
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
07-13-2001 09:54 AM
07-13-2001 09:54 AM
Hello admins,
I would like to know how to implement long usernames (>8 characters)in HP-UX 10.20 if it can be done.
tia,
Marc,
I would like to know how to implement long usernames (>8 characters)in HP-UX 10.20 if it can be done.
tia,
Marc,
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 03:19 PM
07-13-2001 03:19 PM
Solution
Hi Marc:
You said "username", not "password", but read onward. From Knowledge Base document #KBRC00004673:
/begin_quote/
# man 4 passwd
The current use of this field is derived from its use within the Berkeley Software Distribution. Future standards may define this
field for other purposes.
The following fields have character limitations as noted:
+ Login name field can be no longer than eight characters;
+ Initial working directory field can be no longer than 63 characters;
+ Program field can be no longer than 44 characters.
+ Results are unpredictable if these fields are longer than the limits specified above.
PHCO_22265
The patch text contained the following:(Customer viewable)
The PAM libraries intentionally reject login names which are longer than eight characters. This behaviour is changed from 10.20. Some
customers want a way to bypass this restriction.
Resolution:
libpam_unix.1 now checks for the existence of a file in the /etc/default directory called:
I_ACCEPT_RESPONSIBILITY_FOR_BYPASSING_SECURITY_CHECKS
If this file exists, then login names longer than eight characters can be added to /etc/passwd, and then those users can login. Note the following restrictions:
1. HP has never claimed to support user names longer than eight characters, and does not recommend that customers bypass the existing length checks. Bypassing the existing length checks may cause functional and/or security problems.
(SEE ABOVE OR MAN 4 PASSWD)
2. This patch does not remove the existing user name length checks from other commands - for example, pwck(1m), sam(1m), useradd(1m).
3. Do not enable long user names on trusted system configurations.
Please check the ITRC for latest patches.
/end_quote/
...JRF...
You said "username", not "password", but read onward. From Knowledge Base document #KBRC00004673:
/begin_quote/
# man 4 passwd
The current use of this field is derived from its use within the Berkeley Software Distribution. Future standards may define this
field for other purposes.
The following fields have character limitations as noted:
+ Login name field can be no longer than eight characters;
+ Initial working directory field can be no longer than 63 characters;
+ Program field can be no longer than 44 characters.
+ Results are unpredictable if these fields are longer than the limits specified above.
PHCO_22265
The patch text contained the following:(Customer viewable)
The PAM libraries intentionally reject login names which are longer than eight characters. This behaviour is changed from 10.20. Some
customers want a way to bypass this restriction.
Resolution:
libpam_unix.1 now checks for the existence of a file in the /etc/default directory called:
I_ACCEPT_RESPONSIBILITY_FOR_BYPASSING_SECURITY_CHECKS
If this file exists, then login names longer than eight characters can be added to /etc/passwd, and then those users can login. Note the following restrictions:
1. HP has never claimed to support user names longer than eight characters, and does not recommend that customers bypass the existing length checks. Bypassing the existing length checks may cause functional and/or security problems.
(SEE ABOVE OR MAN 4 PASSWD)
2. This patch does not remove the existing user name length checks from other commands - for example, pwck(1m), sam(1m), useradd(1m).
3. Do not enable long user names on trusted system configurations.
Please check the ITRC for latest patches.
/end_quote/
...JRF...
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP