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-1011: Why can't users use @ or # characters in their username or password with HP-UX?

Centrify DirectAudit ,   Centrify DirectControl ,   Centrify Identity Service, Mac Edition ,  

12 April,16 at 11:13 AM

Applies to: All versions of Centrify DirectControl for UNIX/Linux on HP-UX

Question:

Why can't users use @ or # in their usernames or passwords with HP-UX?


Answer:

The HP-UX default tty configuration sets the KILL and ERASE characters to @ and # respectively. The KILL character erases an entire line, and the ERASE character erases the previously entered character. Most modern UNIX and Linux systems use ^U as the default KILL character and ^H (or backspace) as the ERASE character. To reset the defaults on HP-UX, run the following command as root:

stty kill '^U' erase '^H' susp '^Z' < /dev/ttyconf

If one wishes to use the delete key rather than backspace, use ^? in place of ^H. The defaults will be reset when the system is rebooted, so the command can be added into the script in /etc/rc.config.d

More information can be found by viewing the stty(1) and termio(7)man pages on HP-UX.

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