- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem 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
Discussions
Discussions
Forums
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
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
тАО07-30-2010 02:57 PM
тАО07-30-2010 02:57 PM
We are running 11iv3 using a shadow file and the /etc/default/secruity file. In the security file we have the following requirements for a password:
# Optional restrictions for new passwords
# PASSWORD_MIN_UPPER_CASE_CHARS=0
# PASSWORD_MIN_LOWER_CASE_CHARS=0
PASSWORD_MIN_DIGIT_CHARS=1
PASSWORD_MIN_SPECIAL_CHARS=1
# PASSWORD_MIN_SPECIAL_CHARS=2
This morning upon logging into one of our servers I was asked to change my password. Choose the following password seek@him1
The seek@him1 password produced the following message:
New password:
The password entered is not valid. Valid passwords must contain at least:
0 upper case character(s),
0 lower case character(s),
1 digit(s), and
1 special character(s).
Too many failures - try later.
In a nutshell, it never accepted the seek@him1 password, why would that be ?
thankyou for your input
Norm
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 03:11 PM
тАО07-30-2010 03:11 PM
Re: Problem changing password
Is "@" a special character?
A Forum search for keywords like, say,
passwd stty
should find many old discussions of this
problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 03:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 03:17 PM
тАО07-30-2010 03:17 PM
Re: Problem changing password
> erase the line) control. [...]
Not everywhere. Some of us arrange for less
user-hostile behavior (and better
compatibility with every sane UNIX(-like)
system on the planet).
dyi # uname -a
HP-UX dyi B.11.31 U ia64 4235313755 unlimited-user license
dyi # stty -a
speed 9600 baud; line = 0;
rows = 0; columns = 0
min = 1; time = 0;
intr = ^C; quit = ^\; erase = DEL; kill = ^U
eof = ^D; eol = ^@; eol2
stop = ^S; start = ^Q; susp = ^Z; dsusp = ^Y
werase
[...]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 05:10 PM
тАО07-30-2010 05:10 PM
Re: Problem changing password
Special characters are always a problem on any system. Trying to figure out which ones will be a problem is not easy. After you login, your local profile will set # to a backspace and @ to the cancel character CTRL-u.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 11:47 PM
тАО07-30-2010 11:47 PM
Re: Problem changing password
A better way to say this is:
set erase to a backspace and line kill to CTRL-U.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2010 12:16 AM
тАО08-01-2010 12:16 AM
Re: Problem changing password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2010 03:15 AM
тАО08-01-2010 03:15 AM
Re: Problem changing password
Please explain why.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2010 03:04 PM
тАО08-02-2010 03:04 PM
Re: Problem changing password
Thank you for your responses. Sorry to say still a bit confused. Seems like I'm seeing two different opinions/options. One group saying using Seek@him1 will work. Yet as was stated the man page for passwd indicates the # and @ values are not to be used, so it seems that the seek@him1 password is not a good choice.
The other problem is what other charactors other than # and @ should we avoid. Seems like the best option is skip the special character option. Our auditors would prefer we allow special charactors. So rambling a bit what special charactors can we use in a password and how to communicate these values to the users?
Any and all input welcomed!!
Thank you
Norm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2010 04:00 PM
тАО08-02-2010 04:00 PM
Re: Problem changing password
This will never work on a standard HP-UX system as a username or a password. My comments above concerning the driver defaults apply to all versions of HP-UX going back some 20 years. For versions of HP-UX after 10.20, you can use /dev/ttyconf as a method to set new defaults for the driver. The details are explained here:
http://docs.hp.com/en/5992-6579/ch02s03.html
This will allow you to use @ and # in passwords on this particular machine. If you have just one HP-UX box in your company then this is a good solution. Otherwise, you'll need to modify /etc/inittab on all the HP-UX boxes plus remember to modify any new boxes that are put into service.
HOWEVER: most companies have more than one computer, boxes like PCs, Macs, Oracle-Solaris, AIX, Linux, and so on. Now if your auditors require different passwords on each machine, then once you find out all the limitations for special characters for each of these machines, you can create different passwords that will work on each machine.
If this sounds very complicated, you are correct. Some auditors simply do not know the impact of a requirement such as mandatory special characters. System administrators will go crazy with all the phone calls about passwords that don't work. If the auditor's rules only apply to HP-UX, then use the above example and fix all your systems.
Or be prepared to collect a list of all the forbidden characters from all the machines and then teach classes to all your users about which characters cause problems on the different machines.
Bill Hassell, sysadmin