- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Limitation of eight characters for user names
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
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
тАО02-06-2003 02:24 AM
тАО02-06-2003 02:24 AM
Limitation of eight characters for user names
The HPUX 11.0 has a restriction of user names being not more than eight characters .Can this limitation be overcome and how? .In HPUX 10.2 , I used to edit the /etc/passwd file and modify the user names to more than eight characters , but in 11.0 that doesnot seem to work .Please provide your vaulable suggesstions on the same.
Thanks
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2003 02:41 AM
тАО02-06-2003 02:41 AM
Re: Limitation of eight characters for user names
I've tested it and I think it works:
# su - c1234567890
# id
uid=550(c1234567890) gid=20(users)
Do you have trusted system ?? Then it is not so easy to change username in /etc/passwd, you have to do a lot more.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2003 02:41 AM
тАО02-06-2003 02:41 AM
Re: Limitation of eight characters for user names
HP aims to stick to standards and that is 8 characters. However it would appear that from PHCO_21833 a libpam patch you can use a long usernames workaround.
From PHCO_21833 :libpam:login:trusted:
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 8 characters can be added to /etc/passwd, and then those users can login.
Note the following restrictions:
1) HP has never claimed that HP-UX supports user names
longer than 8 characters, and does not recommend that
customers bypass the existing length checks. Doing
so may cause functional and/or security problems.
2) This patch does not remove the existing user name
length checks from other commands - e.g. pwck(1m),
sam(1m), useradd(1m).
3) Do not enable long usernames on trusted system
configurations.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2003 02:48 AM
тАО02-06-2003 02:48 AM
Re: Limitation of eight characters for user names
check this patch
-Qoute-
PHCO_21833:
(SR: 8606135483 CR: JAGad04617)
The PAM libraries are intentionally designed to not allow
login names longer than 8 characters. Some users want a way
to bypass this restriction, even though doing so causes PAM
to bypass some security checks and may cause some commands
to function incorrectly.
-Unquote-
http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_26089&context=hpux:800:11:00
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2003 06:22 AM
тАО02-06-2003 06:22 AM
Re: Limitation of eight characters for user names
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2003 12:10 PM
тАО02-06-2003 12:10 PM
Re: Limitation of eight characters for user names
You can connect to a Microsoft or other LDAP server that supports longer user names and let that server handle authentication onto your box.
The Internet Security Class has a cookbook for setting that up.
If you are interested in LDAP as an option, I've got a hard copy of an HP White paper I can look at, then do an internet search and try and get you a link.
I'm not going to go further unless you indicate an LDAP implementation interests you.
P
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2003 03:04 AM
тАО02-07-2003 03:04 AM
Re: Limitation of eight characters for user names
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2003 11:13 AM
тАО02-07-2003 11:13 AM
Re: Limitation of eight characters for user names
HP is very much aware of the need for support of longer user names and trying hard to find a good solution, but this is absolutely not something that is reasonable to patch into an existing OS release because the impacts are so pervasive.
As for the PAM patch, the warnings are there for very good reasons. Ignore them at your own risk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2003 12:29 AM
тАО03-12-2003 12:29 AM
Re: Limitation of eight characters for user names
Thanks
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2003 02:05 AM
тАО03-12-2003 02:05 AM
Re: Limitation of eight characters for user names
I'd strongly advise against removing the 8 char user name restriction anyway, but as this is a trusted system you can't use the I_ACCEPT_RESPONSIBILITY... method. You can install the patch on a trusted system - it has many other features that are useful on trusted systems.
What repercussions might it have if you do go ahead? Well, as HP have made it clear that it should not be performed on a trusted system you would be operating in an unsupported configuration. Please re-read the restrictions again.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2003 02:24 AM
тАО03-12-2003 02:24 AM
Re: Limitation of eight characters for user names
On non-trusted systems you are bypassing security checks using the patch which enables username > 8 charac.
A system is converted to trusted from non-trusted to keep it more secure.
If you are to install that patch on trusted system then the username length problem will be resolved but you are making yourselves into trouble.
Follow THE HP WAY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2003 09:35 AM
тАО03-12-2003 09:35 AM
Re: Limitation of eight characters for user names
As one really simple example of how things break:
Start from a system in standard mode.
Create a user called 'whydidyoucheat'
Run /usr/lbin/tsconvert to convert to
a trusted system. Note that authck is now
quite upset about the state of the system:
$ authck -p
whydidyoucheat appears in /etc/passwd but not in Protected Password database
whydidyouche??6??* not listed in /etc/passwd nor the Nis+ passwd table, but is in the Protected Password database.
This is only ONE of the more glaring examples of failure. There are many other, more subtle ones that can have major impact on the integrity of your system, much less the security of it.
Again, the warnings aren't there to be mean. They're not there to scare people into buying something. They're there because they are NEEDED and there is no practical patch that will take away that need. I don't know how much more clearly this can be said.