Toolserver:Admin:Unexpire a user

From mediawiki.org

This page was moved from the Toolserver wiki.
Toolserver has been replaced by Toolforge. As such, the instructions here may no longer work, but may still be of historical interest.
Please help by updating examples, links, template links, etc. If a page is still relevant, move it to a normal title and leave a redirect.

To unexpire a user account:

  • Find the current expiry date from /etc/mkuser/mkuser.conf (on nightshade)
  • Convert this to days since 1970: % date2days 2010-03-13
  • Edit the user entry with ldapvi: % ldapvi uid=<username>
  • Replace shadowExpire with the new date, and save the entry.

You can run do_expired.sh (in /opt/local/bin/ on the solaris-web-boxes at the moment) to remove the "this user is expired"-webpage (or wait until midnight).

Category:Admin:Users