Ben, After the line in your script where you create a new user, you could try adding a line that will change the third field in /etc/shadow for that new user and make that value zero. Basically passwd -f command does the same. If this value is set to zero, it should prompt the user to change his password when he logs in next time. Regards, Hari On Mon, Jul 14, 2008 at 4:20 PM, Ben Kevan <ben.kevan@xxxxxxxxx> wrote: > On Monday 14 July 2008 01:00:59 pm Marcos Aurelio Rodrigues wrote: > > Try: > > > > #chage -d 01/01/1970 user > > > > > > Marcos > > -- > > ======================================== > > Marcos Aurelio Rodrigues > > <deigratia33@xxxxxxxxx> > > CCNA, MCSO, Security+ > > Mirabilia laudo semprer, Dei > > ======================================== > > Marcos, > > Unfortunately that did not work in my case.. When I created the user, i was > able to su user and log in with assigned password, and was not prompted to > change. > > Again, this is not the behavior that -e has.. > > Does anyone know exactly what the -e argument does? > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list