Operating System - HP-UX
1833780 Members
2074 Online
110063 Solutions
New Discussion

Re: Which characters can't be used in password?

 
SOLVED
Go to solution
chuanpeng_1
Occasional Advisor

Which characters can't be used in password?


Which characters can't be used in password?

And if have changed the password with @#, how to can recovery it?

Thanks.
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor
Solution

Re: Which characters can't be used in password?

Hi,

Try using the backslash before the special characters,

example password

#abc@def

\#abc\@def

Regards,
Robert-Jan
chuanpeng_1
Occasional Advisor

Re: Which characters can't be used in password?

I have fixed the problem.

The command is
stty kill '^X' intr '^C' erase '^W'
Steven E. Protter
Exalted Contributor

Re: Which characters can't be used in password?

Shalom,

Note that special character support can be added to some degree with a trusted system. Even more flexibility can be added integrating it with ADS or an LDAP environment.

Good that your problem is solved.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor

Re: Which characters can't be used in password?

These two characters @ and # have always been special in HP-UX but can easily be changed. @ will default to a line cancel and # is the backspace action. These defaults are stored in the tty driver and until recently, you could only change the value after login. However, starting with 11.00 (and patches), you can set the default cancel and backspace character with this command:

stty erase "^H" kill "^U" < /dev/ttyconf

Issue this command anytimne and from now on, the special meaning for # and @ will be removed. Add this line to a custom startup script and it remain for all logins.


Bill Hassell, sysadmin