HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- modprdef password history depth
Operating System - HP-UX
1829639
Members
1758
Online
109992
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
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
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
10-23-2008 09:25 AM
10-23-2008 09:25 AM
modprdef password history depth
Is there any way to modify the password history depth via command line, possibly with modprdef (looked at man page but did not see the flag)? I am currently doing it with a vi session, but for ease of use would much rather do it at command line. I do not have the ability to use search and replace with sed or perl, or any other variant.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2008 09:26 AM
10-23-2008 09:26 AM
Re: modprdef password history depth
I should probably not that we're dealing withn HP 11.11, and it is a trusted system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2008 05:06 PM
10-23-2008 05:06 PM
Re: modprdef password history depth
Am unaware of a command line to accomplishe this.
I add the parameters I want to /etc/default/security (tip: use sftp to bring it to a desktop editor like UltraEdit, then sftp it back).
An alternative if you r system allows it is ReflectionX which has a really nice editor.
I add the parameters I want to /etc/default/security (tip: use sftp to bring it to a desktop editor like UltraEdit, then sftp it back).
An alternative if you r system allows it is ReflectionX which has a really nice editor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2008 05:57 PM
10-23-2008 05:57 PM
Re: modprdef password history depth
>I am currently doing it with a vi session
This is the way most configuration files are maintained.
>I do not have the ability to use search and replace with sed or perl
What does "ability" mean here? You don't know how?
Anyway, you're in luck, there is a command I found out recently, ch_rc(1m):
Add/Change:
# ch_rc -a -p PASSWORD_HISTORY_DEPTH=4 /etc/default/security
List:
# ch_rc -l -p PASSWORD_HISTORY_DEPTH /etc/default/security
Unfortunately the original security file has them commented out. ch_rc(1m) will then put them at the end.
This is the way most configuration files are maintained.
>I do not have the ability to use search and replace with sed or perl
What does "ability" mean here? You don't know how?
Anyway, you're in luck, there is a command I found out recently, ch_rc(1m):
Add/Change:
# ch_rc -a -p PASSWORD_HISTORY_DEPTH=4 /etc/default/security
List:
# ch_rc -l -p PASSWORD_HISTORY_DEPTH /etc/default/security
Unfortunately the original security file has them commented out. ch_rc(1m) will then put them at the end.
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 2025 Hewlett Packard Enterprise Development LP