Operating System - HP-UX
1752591 Members
2563 Online
108788 Solutions
New Discussion

Re: HP-UX 11.31 password when using sudo?

 
MikeL_4
Super Advisor

HP-UX 11.31 password when using sudo ??

 

We are running HP-UX 11.31 and have setup sudo for users to access certain functions on the server..

 

We had a user set his password using the @ character in the password...

 

He had no issues with logging into the server, but when using the sudo command the password

authentication would fail...

 

Does sudo itself restrict the use of certain special characters in the password that are not a

restriction for the OS ??

3 REPLIES 3
Todd McDaniel_1
Honored Contributor

Re: HP-UX 11.31 password when using sudo ??

The @ symbol is a restricted character that shouldn't be used for unix passwords. It will fail if you attempt to login via the console as well.

 

http://h30499.www3.hp.com/t5/System-Administration/Bad-root-password/td-p/4019673

Unix, the other white meat.
Dennis Handly
Acclaimed Contributor

Re: HP-UX 11.31 password when using sudo?

>Does sudo itself restrict the use of certain special characters in the password that are not a restriction for the OS?

 

Hmm, I wouldn't believe that sudo would do this.  Normally the problem with logon password and "@" and "#' is the getty config.  And after you have logged on, your ~/.profile would change erase and kill to more reasonable values.

 

 

SivaOX
Advisor

Re: HP-UX 11.31 password when using sudo?

Systems password's length is only 8 characters.  

I hope, He might be used "@" beyond the character limit. so when he logins to the system, it accepts only the first 8 characters.