Operating System - HP-UX
1828667 Members
1889 Online
109984 Solutions
New Discussion

getting error when providing #,$ in between password

 
bazigardu
Advisor

getting error when providing #,$ in between password


Hi All,

I am facing an error which is quite unknown to me.say I have one user like tt1,when I am providing the password for that same user say hps#th it is showing passwd changed succesfully but when again I am trying to login through the new password it is not opening.In solaries It can easily be done.customer having some application so it is urgent.It is a bug? or in between password we can't give some special character.it is 11.11 version.Can any one help me plz.

Regards
Suman
8 REPLIES 8
Kapil Jha
Honored Contributor

Re: getting error when providing #,$ in between password

Hi
Please have a look over thread.


http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1182310

BR,
Kapil
I am in this small bowl, I wane see the real world......
Torsten.
Acclaimed Contributor

Re: getting error when providing #,$ in between password

Don't use this special characters in your password, see
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1182310

and

http://docs.hp.com/en/B2355-60130/passwd.1.html

"...
WARNINGS
Avoid password characters which have special meaning to the tty driver, such as # (erase) and @ (kill). You may not be able to login with these characters."

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
bazigardu
Advisor

Re: getting error when providing #,$ in between password

kindly provide me the solution,Is that possible to give password with the special character. I can't find any solve in that above link...

suman
Robert-Jan Goossens
Honored Contributor

Re: getting error when providing #,$ in between password

Suman,

Have a look at this doc.

# stty kill '^X' intr '^C' erase '^W'
http://www.docs.hp.com/en/5991-6480/ch02s03.html

Robert-Jan
F Verschuren
Esteemed Contributor

Re: getting error when providing #,$ in between password

man passwd:

WARNING
Avoid password characters which have special meaning to the tty
driver, such as # (erase) and @ (kill). You may not be able to login
with these characters.

Sorry it seems to be that the # and @ are not allowes on hp, please ask the user to pick a passwd whitout a # ore @.
Jeeshan
Honored Contributor

Re: getting error when providing #,$ in between password

Hi

Is your system in trusted mode or nontrusted?

In trusted mode you can declare user to use special charecters, numeric character.

But in nontrusted mode this type of policy not accepted.

Check your system please.
a warrior never quits
Dennis Handly
Acclaimed Contributor

Re: getting error when providing #,$ in between password

>Is that possible to give password with the special character.

Sure but you must quote it with a "\".
And you have to know when and when you don't need to quote it.

>ahsan: In trusted mode you can declare user to use special charecters, numeric character.

I don't think trusted mode changes the getty magically change @ and #.
Anshumali
Esteemed Contributor

Re: getting error when providing #,$ in between password

Dennis,

I hope Ahsan wanted to mention the password complexity .....Enable Restriction rules.

Ahsan: If not what i cleared above, have you tested it on production system... ;0

Anshu
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!