Operating System - Tru64 Unix
1753404 Members
6926 Online
108793 Solutions
New Discussion юеВ

How to set password aging on Tru64

 
SOLVED
Go to solution
Jayraj
Frequent Advisor

How to set password aging on Tru64

Hello,

I am trying to change the maximum password time as below on a Tru64 server but it fails, Could some one help me whether I am trying the right one

usermod -x passwd_expire_time=90 username

It fails with below error
usermod: Invalid command line option - passwd_expire_time=90
4 REPLIES 4
Steven Schweda
Honored Contributor

Re: How to set password aging on Tru64

> [...] a Tru64 server [...]

Not a very detailed description of anything.

sizer -v

I know nothing, but the "man" page for
"usermod" does suggest a possible
explanation:

[...]
The following extended_option attributes are available only on systems
running in enhanced security mode:

passwd_expire_time=n
[...]

http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN8/0186____.HTM
Johan Brusche
Honored Contributor
Solution

Re: How to set password aging on Tru64


Password aging is only available when security is set to "ENHANCED", not with "BASE" security.

# rcmgr get SECURITY

See manpage for prpasswd to see what's possible with enhanced (C2) security.

__ Regards,
___ Johan.

_JB_
AwadheshPandey
Honored Contributor

Re: How to set password aging on Tru64

have your checked
/bin/passwd -n (Password min days) -w (warn days -x (max days)
It's kind of fun to do the impossible
Johan Brusche
Honored Contributor

Re: How to set password aging on Tru64

+
Regarding previous reply...

Tru64 passwd does NOT have -n, -w or -x arguments you are probably referring to another flavor of Unix.

Rgds,
__ JB __

_JB_