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 $1Call it with the username you want to fix. It sets the last change date to a day after the epoch but it works.
- drink's blog
- Add new comment
- 629 reads
![[Apache]](/images/get/get_apache_80x15_2.png)
![[PHP]](/images/get/get_php_80x15_2.png)
![[Drupal CMS]](/images/get/get_drupal_80x15_2.png)
![[MySQL]](/images/get/get_mysql_80x15.png)
![[Linux]](/images/get/get_linux_80x15_2s.png)
![[Get Firefox]](/images/get/getfirefoxwhite1.gif)
![[justhost]](/images/get/justhost.png)