From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653755322377.tru64-unix-managers.marc@archive.invalid> From: John Losey Date: Mon, 15 Apr 2002 21:30:18 +0000 To: tru64-unix-managers Subject: C2 and password lifetime expiring via CLI X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653755322377 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_01C1E4C4.BD1AD5E0" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1E4C4.BD1AD5E0 Content-Type: text/plain; charset="ISO-8859-1" We're running 4.0f with C2 enabled and some of our users have a password lifetime of 1 year. When the password lifetime expires, attempting to use 'passwd' to set the password will return with a message saying that "the password lifetime has expired". We've found that if we use 'dxaccounts' to set a password for a user, we're then able to use 'passwd' for the user again. Is there a command line way to reset the password lifetime so that it isn't expired so that we can use passwd on the accounts? The only reason I'm asking is that we've written a wrapper script for our Tech Support that allows them to change passwords for users and it uses passwd to do this. But for the users whose lifetime has expired, they have to e-mail me and I set a bogus password with dxaccounts so that Tech Support can use the tool that calls passwd. I'd really like to be able to add a menu option to their tool that would allow them to be able to do this on their own. But w/o knowing the CLI way of doing it, I can't script it. Thanks, John ------_=_NextPart_001_01C1E4C4.BD1AD5E0 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable C2 and password lifetime expiring via CLI

We're running 4.0f with C2 enabled and some of our = users have a password lifetime of 1 year.  When the password = lifetime expires, attempting to use 'passwd' to set the password will = return with a message saying that "the password lifetime has = expired".  We've found that if we use 'dxaccounts' to set a = password for a user, we're then able to use 'passwd' for the user = again.

Is there a command line way to reset the password = lifetime so that it isn't expired so that we can use passwd on the = accounts?

The only reason I'm asking is that we've written a = wrapper script for our Tech Support that allows them to change = passwords for users and it uses passwd to do this.  But for the = users whose lifetime has expired, they have to e-mail me and I set a = bogus password with dxaccounts so that Tech Support can use the tool = that calls passwd.  I'd really like to be able to add a menu = option to their tool that would allow them to be able to do this on = their own.  But w/o knowing the CLI way of doing it, I can't = script it.

Thanks,

John

------_=_NextPart_001_01C1E4C4.BD1AD5E0--