• chuck cranor's avatar
    two additional updates for EXPIRE_PASSWORDS=0 mode · ee6cf209
    chuck cranor authored
    1. In User.pm Create(), only apply the default expire time of 1 year
    to pswd_expires if EXPIRE_PASSWORDS is true.
    
    2. In tbacct's passwd command: the current behavior is that we set
    the pswd_expires time to "now" if we are changing the the password
    of someone else's account.   this patch adds a new "-e" flag that,
    if specified, uses the default expiration policy instead of now.
    The rational for this change is to allow scripts to import encrypted
    passwords from external account management systems and apply them
    to emulab using "tbacct passwd" without forcing an immediate change.
    ee6cf209
Name
Last commit
Last update
..
GNUmakefile.in Loading commit data...
accountsetup.in Loading commit data...
addpubkey.in Loading commit data...
addsfskey.in Loading commit data...
adduserhook.in Loading commit data...
dumpproject.in Loading commit data...
dumpuser.in Loading commit data...
genpubkeys.in Loading commit data...
manageremote.in Loading commit data...
mksyscert.in Loading commit data...
mkusercert.in Loading commit data...
newproj.in Loading commit data...
newuser.in Loading commit data...
quotamail.in Loading commit data...
spewcert.in Loading commit data...
tbacct.in Loading commit data...