Last modified: 2012-09-06 01:43:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33949, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31949 - Fix homedirectorymanager.py to update ssh keys instead of just creating/deleting home directories
Fix homedirectorymanager.py to update ssh keys instead of just creating/delet...
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Ryan Lane
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-26 04:11 UTC by Ryan Lane
Modified: 2012-09-06 01:43 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ryan Lane 2011-10-26 04:11:09 UTC
homedirectorymanager.py only currently updates the authorized_keys file when a home directory is created. It should check the user's ldap entry for the modifyTimestamp operational attribute, and see if the timestamp is greater than the authorized_keys file's modify timestamp. If so, it should update the authorized_keys file.

Also, a cron should be run for this frequently, rather than waiting on a puppet run. Alternatively, the OpenStackManager extension could trigger an mcollective script whenever a user modifies their ssh keys.
Comment 1 Thehelpfulone 2012-06-13 15:39:05 UTC
Moving out of the Wikimedia product into the already existing Wikimedia Labs product, I'm going to remove the Labs component from the Wikimedia product.
Comment 2 Ryan Lane 2012-09-06 01:43:47 UTC
This has been fixed for quite a while now.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links