System Administration
Showing results for 
Search instead for 
Do you mean 

HP-UX 11.31 password when using sudo ??

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
Honored Contributor 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.
Acclaimed Contributor 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.

 

 

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.