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  >

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

Authentication Service ,  

12 April,16 at 11:02 AM

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

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.

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


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

For trusted HPUX, it says:
"Do not enable long usernames on trusted system configurations"

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.