Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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

 

 

Highlighted
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.