- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- password security for a non trusted system.
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
05-04-2004 03:14 AM
05-04-2004 03:14 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 03:20 AM
05-04-2004 03:20 AM
Re: password security for a non trusted system.
man 4 security will give you details.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 03:27 AM
05-04-2004 03:27 AM
Re: password security for a non trusted system.
passwd -r files [-d|-l] [-f] [-n min] [-w warn] [-x max] na
the change impact in /etc/default/security
man passwd
example
Password History
The system administrator can enable the password history feature to
discourage users from reusing previously used passwords. To enable
the password history feature, the system administrator should create a
file (or open the file if it already exists) named security under
directory /etc/default and append to it one line content
PASSWORD_HISTORY_DEPTH=number. The line contains three keywords,
PASSWORD_HISTORY_DEPTH, =, and a decimal number which is the desired
depth for the password history check. If the number is 2, the user's
new password will be checked against two previously used passwords.
One is the current password, and the other one is the password used
before the current password. A configuration of password history
depth of 2 prevents users from alternating between two passwords. The
maximum password history depth supported is 10 and the minimum
password history depth supported is 1. A depth configuration of more
than 10 will be treated as 10, and a depth configuration of less than
1 will be treated as 1.
EXAMPLE: iN MY SYSTEM
# more /etc/default/security
PASSWORD_HISTORY_DEPTH=10
# more /etc/default/useradd
#default useradd options
HOMEDIR /home
GROUPID 20
INACT -1
EXPIRE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 03:48 AM
05-04-2004 03:48 AM
Re: password security for a non trusted system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 03:50 AM
05-04-2004 03:50 AM
Re: password security for a non trusted system.
If you're not running a trusted system and there is no security file then there will be no defaults for minimum time between password changes, password duration, password ageing.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 04:04 AM
05-04-2004 04:04 AM
Re: password security for a non trusted system.
Are you *sure* the system is not truested.
What does
ll /tcb/files/auth/system
return - anything?
If it does your system is indeed trusted & that's coming from the default file in that dir.
If you are truly not trusted then it's possible you have a custom PAM (Pluggable Authentication Module) installed. Check the /usr/lib/security for new files.
Other possibilities would be 3rd party products like Control-SA or PowerBroker & such.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 08:29 AM
05-04-2004 08:29 AM
Re: password security for a non trusted system.
If your system is not trusted you will get an error back to that effect. Also if your system is trusted it will return all of the security settings for that user :).
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 08:54 AM
05-04-2004 08:54 AM
SolutionTry this link,
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000067130219
The itrc doc id is KBAN00000715.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 03:07 PM
05-04-2004 03:07 PM
Re: password security for a non trusted system.
For 11.00 and higher (with security patches) you can use:
NOLOGIN=1
MIN_PASSWORD_LENGTH=8
NUMBER_OF_LOGINS_ALLOWED=0
ABORT_LOGIN_ON_MISSING_HOMEDIR=1
in the security file. If you run SAM and select Security/Auditing, you'll see no choices for security policies. You'll have to create the security file manually, owned by root, 644 permission. NOTE: the man page for security has been constanly changing with security patches. If you aren't up to date on patches, options mentioned on another system may not apply (and are silently ignored). Note also that unlike shell scripts, a # at the end of an option will cause the entire line to be ignored. Put all comments on separate lines.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 01:36 AM
05-05-2004 01:36 AM