- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disabling password aging - HPUX 11.31
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
01-13-2009 08:52 AM
01-13-2009 08:52 AM
Disabling password aging - HPUX 11.31
Running HPUX 11.31... in UNtrusted mode.
I'm trying to disable password aging for one particular user. If I try setting PASSWORD_MAXDAYS in SMH to -1, like it says to disable it (i.e. -1...441 Maximum number of days that a password is valid (-1=Disable aging), I keep getting the following error:
The user value for PASSWORD_MAXDAYS is out of range.
If I try with userdbset:
userdbset -u username PASSWORD_MAXDAYS=-1
I get: Unknown attribute : PASSWORD_MAXDAYS
Why?? What gives?? I've got SMH A.2.2.9.1 installed.
Regards, Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2009 09:13 AM
01-13-2009 09:13 AM
Re: Disabling password aging - HPUX 11.31
overrides /etc/shadow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2009 10:13 AM
01-13-2009 10:13 AM
Re: Disabling password aging - HPUX 11.31
SHould I be using shadow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2009 10:37 AM
01-13-2009 10:37 AM
Re: Disabling password aging - HPUX 11.31
Might be there is some other issue
You need to wait for our experts to revert to your issue,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2009 08:41 PM
01-13-2009 08:41 PM
Re: Disabling password aging - HPUX 11.31
You could always use vipw(1m) to remove the aging subfield out of the password field. From the comma to the end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2009 01:04 PM
01-16-2009 01:04 PM
Re: Disabling password aging - HPUX 11.31
>>> HPSupport_AM
FR: alonso_baldioceda
Patrick,
There is an Enhancement request filed with the reference number QXCR1000821184 to resolve this issue.
As per the manual pages of passwd(1) and security(4), setting PASSWORD_MAXDAYS=-1 will disable the password aging. But values specied in system-wide configuration file /etc/default/security do not take effect. So it is no possible disable password aging per user overriding the system default to use password aging.
Unfortunately there is no a fix currently and there is no a release date for the patch.
Thanks,
Alonso
======================
My original note:
Running HPUX 11.31 on an Untrusted system and trying to disable password aging for 1 user from the SMH web interface. Not yet running with shadow passwords.
Just like it says for PASSWORD_MAXDAYS: -1...441 Maximum number of days that a password is valid (-1=Disable aging)
I did exactly that. Put in -1. It keeps telling me -1 out of range???
Now if I go into the tui version of SMH, I read the following warning:
The per user value for the security attributes PASSWORD_MINDAYS, PASSWORD_MAXDAYS and PASSWORD_WARNDAYS cannot be removed individually.
How are we supposed to disable password aging for 1 user only? PASSWORD_MAXDAYS is set to 60 in /etc/default/security.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2009 03:47 PM
01-16-2009 03:47 PM
Re: Disabling password aging - HPUX 11.31
I have no clue what userdbset does, so I can't comment on why you see the results you do.
For a specific user, you can:
a) remove the aging information for an individual user using "vipw" as Dennis noted. in the following example:
testusr:asdcasd,asd:.......
you would want that to read:
testusr:asdcasd:.......
or:
b)as "root", you can try:
passwd testusr -n 0 -x 0
NOTE:
I prefer the "vipw" method, as I *know* that will work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2009 04:51 AM
01-17-2009 04:51 AM
Re: Disabling password aging - HPUX 11.31
remove password aging field from password i.e after comma
if you are not familiar with editing /etc/passwd
use SAM to disable password aging
SAM-Accounts for Users and Groups-Local users-select account-Modify password option -set password option to No Restrictions (Normal Behavior)
Javed