- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- error message when changing password
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 12:19 PM
03-20-2008 12:19 PM
When a user changes a password and tries to use some special character like "#" or "@" he gets back a generic message:
New password:
The password entered is not valid. Valid passwords must contain at least:
1 upper case character(s),
1 lower case charcter(s),
1 digit(s), and
1 special character(s).
I wonder, is it possible to display a more specific message?
Thanks,
Elena.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 12:23 PM
03-20-2008 12:23 PM
Re: error message when changing password
@ symbol is a special symbol that is interpreted as: IGNORE anything prior
I forget what # was
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 12:28 PM
03-20-2008 12:28 PM
Re: error message when changing password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 12:38 PM
03-20-2008 12:38 PM
Re: error message when changing password
No.
# and @ are reserved for getty. I think # pound means backspace and @ means ignore or backspace also. (* caveman unix stuff that's still hanging around *).
You can try putting a '/' in front of the # or @. This is also standard unix.
! works as does :.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 12:38 PM
03-20-2008 12:38 PM
Re: error message when changing password
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.
========================================
Notes:
# erase a previously typed character, one per "#"
@ erase everything previously typed.
This behaviour is not related to the output of "stty -a"...and AFAIK, can't be modified. you might be able to "escape" it with a "\" prior, as in asd\#912, but I'm not certain about that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 12:41 PM
03-20-2008 12:41 PM
Re: error message when changing password
While getty does understand simple single character quoting conventions, it is not possible to quote the special control
characters that getty uses to determine when the end of the line has been reached, which protocol is being used, and what the erase character is. Therefore it is not possible to log in by means of getty and type a #, @, /, !, _, backspace, ^U, ^D, or & as part of your login name or arguments. They will always be interpreted as
having their special meaning as described
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 12:51 PM
03-20-2008 12:51 PM
Re: error message when changing password
You would like to change the message to someting like?
The password entered is not valid. Valid passwords must contain at least:
1 upper case character(s),
1 lower case charcter(s),
1 digit(s), and
1 special character(s).
Do not use the special characters @ and # in your password!
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 01:02 PM
03-20-2008 01:02 PM
Re: error message when changing password
Yes, can I add to this message what characters they should not use?
Thanks,
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 01:04 PM
03-20-2008 01:04 PM
Re: error message when changing password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 01:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 01:08 PM
03-20-2008 01:08 PM
Re: error message when changing password
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=427148
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 01:19 PM
03-20-2008 01:19 PM
Re: error message when changing password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 02:47 PM
03-20-2008 02:47 PM
Re: error message when changing password
---8<---
As many users discover to their frustration, UNIX was originally developed on TeleType machines that had no backspace operation. Consequently, the process of editing input data was performed by printing characters: #, delete one character and @, delete the line. Interrupt was defined as Rubout (ASCII DEL). This situation has carried over to the process of logging in to a system. #, @, and DEL are still the HP-UX default login control characters today.
--->8---
You can change this default behavior by configuring /dev/ttyconf.
Take a look to http://www.docs.hp.com/en/5992-3386/ch02s03.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2008 04:25 AM
03-21-2008 04:25 AM
Re: error message when changing password
Thanks a lot for all your responses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2008 04:13 PM
03-21-2008 04:13 PM
Re: error message when changing password
ttco::bootwait:/sbin/stty intr ^C erase ^H kill ^U < /dev/ttyconf
http://www.docs.hp.com/en/5992-3386/ch02s03.html
At the bottom of the page.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2008 07:52 PM
03-21-2008 07:52 PM
Re: error message when changing password
This may not true for 11.23. Just change /usr/lib/nls/msg/C/passwd.cat, message 91
> This is HP-UX 11.11 trusted system.
Ok, that won't help you.