Stop a Linux password from expiring
After installing plugbox linux on my Dockstar I found that new users' passwords expired on login and forced a logout forever. To fix this for a single user use this script:
#!/bin/sh
chage -d 1 -E -1 -I -1 -m -1 -M -1 -W -1 $1
Call it with the username you want to fix. It sets the last change date to a day after the epoch but it works.
- Read more about Stop a Linux password from expiring
- Log in or register to post comments