Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-2047: HP-UX - Login/SSH fails with user names longer than 8 characters

Centrify DirectControl ,  

12 April,16 at 11:02 AM

Applies to: All versions of DirectControl on HP-UX 11.31 or above

Problem:
Logging in using SSH (stock or Centrify OpenSSH) from a HP-UX machine with a username more than 8 characters fails.

In sshd debug trace, you may get :

PAM: pam_setcred(): No account present for user

And when you run "lugadmin" will return:

Config not found:
/etc/default/lugname file does not exist.

Cause:
L
ong user and group name feature is not enabled on HP-UX.

Resolution:

You can enable the long user and group name feature by doing the following:

1. Stop pwgrd: 

/sbin/init.d/pwgr stop

2. Enable logn user and group name feature:

lugadmin -e 

(/etc/default/lugname will be created)

3. Start pwgrd:

/sbin/init.d/pwgr start

Note: 
For trusted HPUX, it says:
"Do not enable long usernames on trusted system configurations"
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01096261&cc=us&dlc=en&lc=en&jumpid=reg_R1002_USEN

Centrify Corporation does not take any responsibility for the content or availability of this link and it was provided as a courtesy. Customers should contact the vendor if there are any further questions.

 

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.