Thanks for pointing me in the right direction, this was the solution I
was missing, wrote a great script to get the job done.

James Chaplin
Systems Programmer, MVS, zVM & zLinux
Base Technologies, Inc
Supporting the zSeries Platform Team
-----Original Message-----
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Dominic Coulombe
Sent: Tuesday, October 13, 2009 11:39 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: How do you . . . . setting up a user to force him to change
his password?

Hi,

On Tue, Oct 13, 2009 at 11:31, CHAPLIN, JAMES (CTR) <
james.chap...@associates.dhs.gov> wrote:
[...]
>
> is there a command to modify the account without manually modifying
the
> /etc/shadow create date (to expire) to do this?
>
>
Assuming the password can expire (EXPIRE_DATE != -1) :
chage -d 0 username



Regards,
Dominic Coulombe

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to