GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX password program
Operating System - HP-UX
1847177
Members
5192
Online
110263
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-05-2002 12:29 PM
07-05-2002 12:29 PM
I would really like to modify the interactive statements for users changing their own passwords with something a little more descriptive of what the password program is expecting. Like "Your password has expired. Choose a new 8 character password with at least one numeric and one alpha character."
Any ideas other than stealing UNIX password program code?
Any ideas other than stealing UNIX password program code?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2002 12:51 PM
07-05-2002 12:51 PM
Re: HP-UX password program
Try HP porting center & look for npasswd
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/npasswd-1.2.4/
It does not look tremendously promising from man pages but you can get the source code & put in your own messages.
Tim
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/npasswd-1.2.4/
It does not look tremendously promising from man pages but you can get the source code & put in your own messages.
Tim
-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2002 12:58 PM
07-05-2002 12:58 PM
Re: HP-UX password program
The passwd+ program can also be customized fairly easily.
http://www.ja.net/CERT/Software/passwd+/
Don't know if this helps.
http://www.ja.net/CERT/Software/passwd+/
Don't know if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2002 03:38 AM
07-06-2002 03:38 AM
Solution
Replacing the standard passwd programs is probably a bad idea. Too often it causes unexpected interactions with other programs. Before you go down that route you might want to try this:
If you have recent PAM patches, you can configure options that let you specify more password selection rules like this. The error messages will tell you:
$ passwd bin
Changing password for bin
Old password:
New password:
Password too short - must be at least 6 characters
New password:
The password entered is not valid. Valid passwords must contain at least:
1 upper case character(s),
0 lower case charcter(s),
1 digit(s), and
0 special character(s)
New password:
The rules are specified in
/etc/default/security as
explained below. You can customize them to meet your site's policies.
PHCO_24839 (11.11) or PHCO_26089 (11.00)
are the patches you would want to look at.
Quoting from the doc for
PHCO_24390 where this was originally introduced:
A site's security policies sometimes require new passwords
to contain specific numbers or types of characters, such as
at least two digits and at least one special character.
Resolution:
In addition to the standard password requirements,
optional entries in the file /etc/default/security specify
the minimum number of required characters of each type
(upper case characters, lower case characters, digits
and special characters) in a new password.
PASSWORD_MIN_UPPER_CASE_CHARS=N
PASSWORD_MIN_LOWER_CASE_CHARS=N
PASSWORD_MIN_DIGIT_CHARS=N
PASSWORD_MIN_SPECIAL_CHARS=N
The default value for N is 0. These parameters have
effect only when a password is changed. On untrusted
systems, these parameters do not apply to the root user.
The file /etc/default/security should be owned by root and
have 0644 permissions.
As an example, to require passwords at least 8 characters
long, composed of at least 5 upper case characters, 2
lower case characters and a digit, include the following
lines in /etc/default/security, as specified above:
PASSWORD_MIN_UPPER_CASE_CHARS=5
PASSWORD_MIN_LOWER_CASE_CHARS=2
PASSWORD_MIN_DIGIT_CHARS=1
If you have recent PAM patches, you can configure options that let you specify more password selection rules like this. The error messages will tell you:
$ passwd bin
Changing password for bin
Old password:
New password:
Password too short - must be at least 6 characters
New password:
The password entered is not valid. Valid passwords must contain at least:
1 upper case character(s),
0 lower case charcter(s),
1 digit(s), and
0 special character(s)
New password:
The rules are specified in
/etc/default/security as
explained below. You can customize them to meet your site's policies.
PHCO_24839 (11.11) or PHCO_26089 (11.00)
are the patches you would want to look at.
Quoting from the doc for
PHCO_24390 where this was originally introduced:
A site's security policies sometimes require new passwords
to contain specific numbers or types of characters, such as
at least two digits and at least one special character.
Resolution:
In addition to the standard password requirements,
optional entries in the file /etc/default/security specify
the minimum number of required characters of each type
(upper case characters, lower case characters, digits
and special characters) in a new password.
PASSWORD_MIN_UPPER_CASE_CHARS=N
PASSWORD_MIN_LOWER_CASE_CHARS=N
PASSWORD_MIN_DIGIT_CHARS=N
PASSWORD_MIN_SPECIAL_CHARS=N
The default value for N is 0. These parameters have
effect only when a password is changed. On untrusted
systems, these parameters do not apply to the root user.
The file /etc/default/security should be owned by root and
have 0644 permissions.
As an example, to require passwords at least 8 characters
long, composed of at least 5 upper case characters, 2
lower case characters and a digit, include the following
lines in /etc/default/security, as specified above:
PASSWORD_MIN_UPPER_CASE_CHARS=5
PASSWORD_MIN_LOWER_CASE_CHARS=2
PASSWORD_MIN_DIGIT_CHARS=1
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP