CAPTCHA
Image CAPTCHA
Enter the characters shown in the image.
This question is for testing whether or not you are human.
  • Create new account
  • Reset your password

User account menu

Home
The Hyperlogos
Read Everything

Main navigation

  • Home
  • My Resumé
  • blog
  • Howtos
  • Pages
  • Contact
  • Search

password

Breadcrumb

  • Home
  • password

Stop a Linux password from expiring

By drink | Fri July 02, 2010

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.

linux
howto
password
  • Read more about Stop a Linux password from expiring
  • Log in or register to post comments
Subscribe to password

Footer menu

  • Contact
Powered by Drupal

Copyright © 2026 Martin Espinoza - All rights reserved