- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Password Strengthening 2
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
06-14-2004 10:25 PM
06-14-2004 10:25 PM
following the suggestions I've found in the Password Strengthening thread, I'm try to implement some password checks, specifically minimum password length and history depth.
I know there is a way to implement this using /etc/default/security file, but when I do 'man security' on my system (HP-UX 11),
I get no manual entry for security. What I'm doing wrong ? Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 10:31 PM
06-14-2004 10:31 PM
SolutionMIN_PASSWORD_LENGTH=8
PASSWORD_HISTORY_DEPTH=3
PASSWORD_MIN_UPPER_CASE_CHARS=1
PASSWORD_MIN_LOWER_CASE_CHARS=1
PASSWORD_MIN_DIGIT_CHARS=1
PASSWORD_MIN_SPECIAL_CHARS=0
I found this to also assist you:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-2783/5187-2783_top.html&con=/hpux/onlinedocs/5187-2783/00/01/127-con.html&toc=/hpux/onlinedocs/5187-2783/00/01/127-toc.html&searchterms=security&queryid=20040517-105549
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 10:35 PM
06-14-2004 10:35 PM
Re: Password Strengthening 2
http://docs.hp.com/hpux/onlinedocs/B2355-90696/B2355-90696.html
Then click on "volume 8", which will give you "Section 4 - File Formats". Under the "s" section, you will find the man page for "security".
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 12:43 AM
06-15-2004 12:43 AM
Re: Password Strengthening 2
However: you need to be up to date on security patches. You need to test each parameter setting to see if it works because there is no error log for misspelled or unimplemented keywords. Comments must start with # in column 1. Trailing # characters will cause the entire line to be ignored. Here's a sample security file with lots of comments:
# Security file: /etc/default/security
# man security
# Features depend on HP-UX rev and patches. Not all features are
# available on older systems.
#
# Comments (#) allowed only on separate line,
# no trailing # following a parameter or it
# will invalidate the setting
# Access controls (11.0 and higher)
#################
NOLOGIN=1
NUMBER_OF_LOGINS_ALLOWED=0
ABORT_LOGIN_ON_MISSING_HOMEDIR=0
# Single user mode authorization (11i and non-trusted only)
###########################################################
# Requires root password to get into single user mode
# BOOT_AUTH=1
# Users (besides root) that can boot into single user mode
# BOOT_USERS=bill,jane,joe
# Password controls - Trusted
###################
MIN_PASSWORD_LENGTH=6
PASSWORD_HISTORY_DEPTH=1
PASSWORD_MIN_UPPER_CASE_CHARS=0
PASSWORD_MIN_LOWER_CASE_CHARS=1
PASSWORD_MIN_DIGIT_CHARS=1
PASSWORD_MIN_SPECIAL_CHARS=0
# Non-Trusted or shadow password setup only:
# defaults: MAXDAYS=-1 MINDAYS=0 WARNDAYS=0
# PASSWORD_MAXDAYS=120
# PASSWORD_MINDAYS=7
# PASSWORD_WARNDAYS=7
# Session controls
##################
SU_ROOT_GROUP=suroot
SU_DEFAULT_PATH=/usr/bin:/usr/contrib/bin:
UMASK=022
# SU_KEEP_ENV_VARS=LD_LIBRARY_PATH,SHLIB_PATH,LD_PRELOAD
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 12:52 AM
06-15-2004 12:52 AM
Re: Password Strengthening 2
So my understanding is that security file works either in not-trusted or trusted system; am I right ? I just need to create the file and switch to trusted system to implement the checks I need, right ? Finally, from you example file I see that I can implement also a basic alphanumeric check on the password, using PASSWORD_MIN_DIGIT_CHARS: if this keyword is missing only letters are allowed in the password ? Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 01:34 AM
06-15-2004 01:34 AM
Re: Password Strengthening 2
Yes, all your understandings are correct.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 03:54 AM
06-15-2004 03:54 AM
Re: Password Strengthening 2
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 10:41 PM
06-17-2004 10:41 PM
Re: Password Strengthening 2
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 12:28 AM
06-18-2004 12:28 AM
Re: Password Strengthening 2
In a Trusted system, you do have the ability to limit when a specific user can login but not how many times. To control user logins (not ftp or 'r' commands like remsh) you can call the attached script in /etc/profile (and rewrite for /etc/csh.login if you have csh users). This code assumes that you have created a file called /etc/login.limit which has 1 user login per line followed by the number of logins allowed. If the number is missing, the value is unlimited and root is not restricted.
Bill Hassell, sysadmin