Re: How to force password change via ssh on Linux?

From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 04/30/04


Date: Fri, 30 Apr 2004 03:01:36 +0000 (UTC)

In article <5bd81e6c.0404290833.4e305c9c@posting.google.com>,
Alex <alexandresumare@hotmail.com> wrote:
>I need to configure my Linux to force the users to change their
>password at first logon. I already set the logind.defs file up with
>options MAX_PASS_DAYS to 90.
>When I use command: chage user, I define that the password is expired.
>So, when a user tries to logon via console, it's asked to change the
>password, but when he tries to login via ssh, he receives Access
>Denied. I already checked all options on sshd_config but nothing??
>What to do to enable this option??

Assuming you're using OpenSSH, upgrade to 3.8.1p1 which supports forced
password changes on expiry. (3.8p1 does too, but has a bug in some
configurations).

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


Relevant Pages

  • How to force password change via ssh on Linux?
    ... I need to configure my Linux to force the users to change their ... password at first logon. ... password, but when he tries to login via ssh, he receives Access ...
    (comp.os.linux)
  • How to force password change via ssh on Linux?
    ... I need to configure my Linux to force the users to change their ... password at first logon. ... password, but when he tries to login via ssh, he receives Access ...
    (comp.security.ssh)