- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Overriding password ageing for an individual - Std...
Operating System - HP-UX
1756652
Members
2345
Online
108851
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
Discussions
Discussions
Forums
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
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
тАО09-20-2007 12:43 AM
тАО09-20-2007 12:43 AM
Overriding password ageing for an individual - StdModSecExt
All
I've installed StdModSecExt, and have setup all the global settings I want in /etc/default/security. This includes PASSWORD_MAXDAYS=90. However I have a number of functional user accounts that I want to disable password ageing for.
/etc/security.dsc suggest I can't use userdbset to change the /var/adm/userdb for individuals.
# S : can configure a system-wide default in /etc/default/security
# u : can configure a per-user value in /var/adm/userdb
# s : can configure a per-user value in /etc/shadow if shadow mode
# p : can configure a per-user value in /etc/passwd if standard mode
# L : the attribute applies only to local users in /etc/passwd
PASSWORD_MAXDAYS;-1;441;-1;LpsS;Maximum number of days that a password is valid (-1=Disable aging)
How do I do this via the /etc/passwd file as it suggests? Is it actually possible to change this attribute for individual users?
Thanks...
I've installed StdModSecExt, and have setup all the global settings I want in /etc/default/security. This includes PASSWORD_MAXDAYS=90. However I have a number of functional user accounts that I want to disable password ageing for.
/etc/security.dsc suggest I can't use userdbset to change the /var/adm/userdb for individuals.
# S : can configure a system-wide default in /etc/default/security
# u : can configure a per-user value in /var/adm/userdb
# s : can configure a per-user value in /etc/shadow if shadow mode
# p : can configure a per-user value in /etc/passwd if standard mode
# L : the attribute applies only to local users in /etc/passwd
PASSWORD_MAXDAYS;-1;441;-1;LpsS;Maximum number of days that a password is valid (-1=Disable aging)
How do I do this via the /etc/passwd file as it suggests? Is it actually possible to change this attribute for individual users?
Thanks...
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2007 08:02 PM
тАО09-20-2007 08:02 PM
Re: Overriding password ageing for an individual - StdModSecExt
Anyone?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 08:26 AM
тАО09-21-2007 08:26 AM
Re: Overriding password ageing for an individual - StdModSecExt
Hi Robin,
These are the relevant entries that apply to your situation:
# s : can configure a per-user value in /etc/shadow if shadow mode
# p : can configure a per-user value in /etc/passwd if standard mode
So use passwd -w... as long as you're not in Trusted Mode.
These are the relevant entries that apply to your situation:
# s : can configure a per-user value in /etc/shadow if shadow mode
# p : can configure a per-user value in /etc/passwd if standard mode
So use passwd -w... as long as you're not in Trusted Mode.
Those Who Would Sacrifice Liberty for Security Deserve Neither." - Benjamin Franklin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2007 09:52 PM
тАО09-23-2007 09:52 PM
Re: Overriding password ageing for an individual - StdModSecExt
Thanks for the response Robert, but that'll just deal with the warngin message. I've tested with passwd -x -1 and that does what I need it to.
Robin
Robin
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP