Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • emulab-devel emulab-devel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 164
    • Issues 164
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • emulabemulab
  • emulab-develemulab-devel
  • Merge requests
  • !47

two additional updates for EXPIRE_PASSWORDS=0 mode

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged chuck cranor requested to merge chuck/emulab-devel:pswd_expires_upd into master Jun 05, 2019
  • Overview 0
  • Commits 1
  • Changes 2
  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.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: pswd_expires_upd