Operating System - HP-UX
1833325 Members
2813 Online
110051 Solutions
New Discussion

Re: User login names > 8 chars on HPUX.100?

 
hakan Güleç
Occasional Advisor

User login names > 8 chars on HPUX.100?

Hi all,
Is there any way to give login name > 8 chars on HPUx 11.00.
I find some replies about 10.20 on this forum.
Is there any side effect? Because I am using
HP box as smtp-pop3 .
Kind regards.
Hakan.
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: User login names > 8 chars on HPUX.100?

Hi:

The man pages for 11.x are clear: the "Login name field can be no longer than 8 characters". See 'man 4 passwd'.

...JRF...
Rainer von Bongartz
Honored Contributor

Re: User login names > 8 chars on HPUX.100?

you can put longer names in /etc/passwd, but only 8 chars are relevant for login.

He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Rita C Workman
Honored Contributor

Re: User login names > 8 chars on HPUX.100?

As was mentioned anything > 8 in an untrusted system is unsupported and will ignore what is over 8 characters and may result in error. This applies to user names, group names and node names.

Now here is an interesting thread, where Steffi Jones showed that the error message can be handled in an 11 system (of course that doesn't change the issue of > than 8 characters !)
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x10920cb17a32d5118fef0090279cd0f9,00.html

Rita
T G Manikandan
Honored Contributor

Re: User login names > 8 chars on HPUX.100?

Hello,
1.Install the patches PHCO_13809 and PHCO_24390 on the server.Reboot your machine.
2.Now create a file "I_ACCEPT_RESPONSIBILITY_FOR_BYPASSING_SECURITY_CHECKS"
#touch I_ACCEPT_RESPONSIBILITY_FOR_BYPASSING_SECURITY_CHECKS
3.create the user by editing the /etc/passwd file.
Hope this helps.

Thanks.
GM
Bill McNAMARA_1
Honored Contributor

Re: User login names > 8 chars on HPUX.100?

This sounds just a little bit grievious!

I_ACCEPT_RESPONSIBILITY_FOR_BYPASSING_SECURITY_CHECKS

why not just touch a file I_AM_OBVIOUSLY_JUST_GOING_TO_GET_MYSELF_INTO_UNSUPPORTED_TROUBLE_SOMEWHERE_DOWN_THE_LINE

!
Later,
Bill
It works for me (tm)
T G Manikandan
Honored Contributor

Re: User login names > 8 chars on HPUX.100?

Bill ah..ah..aa

The HP way.
Wodisch
Honored Contributor

Re: User login names > 8 chars on HPUX.100?

Hello,

why is it so difficult to use the search facility of the ITRC?
It took only a minute to find the answer from JRF for
that question as it was posted on 13th July 2001 :-(

Look at
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xd95a46ff9277d511abcd0090277a778c,00.html

Sorry, Bill - it is really that filename in "/etc/default/" :-)

HTH,
Wodisch