HP-UX 11.31 password when using sudo ?? (655 Views)
Reply
Super Advisor
MikeL_4
Posts: 958
Registered: ‎05-05-2002
Message 1 of 4 (655 Views)

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 ??

Please use plain text.
Honored Contributor
Todd McDaniel_1
Posts: 1,387
Registered: ‎08-26-2002
Message 2 of 4 (650 Views)

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.
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,757
Registered: ‎03-06-2006
Message 3 of 4 (637 Views)

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.

 

 

Please use plain text.
Advisor
SivaOX
Posts: 26
Registered: ‎02-26-2009
Message 4 of 4 (613 Views)

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. 

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation