RobH has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/377342 )
Change subject: adding documentation on renaming users ...................................................................... adding documentation on renaming users renaming users is possible, but has some steps, detailing them in the readme so they are followed. Change-Id: I2c64faeff9bf56e4cc6ad619dabcc9e894fb8f72 --- M modules/admin/README 1 file changed, 17 insertions(+), 0 deletions(-) Approvals: jenkins-bot: Verified RobH: Looks good to me, approved diff --git a/modules/admin/README b/modules/admin/README index e05515b..89388c9 100644 --- a/modules/admin/README +++ b/modules/admin/README @@ -205,6 +205,23 @@ #* Groups with no members get root by default #* admin::user and admin::group are not dependent on yaml +Renaming Users: + +https://wikitech.wikimedia.org/wiki/Ops_Clinic_Duty#Renaming_shell_users + +Sometimes we have to rename a shell user. This is typically when their shell name doesn't +match their login name, and they have issues logging into items requiring LDAP credentials + +Private data that isn't allowed to be copied off the cluster should not be backed up to +laptops. So we need to move user home data for the user. + +* Patchset is prepared, but not merged. +* All affected hosts have puppet halted. +* Affected hosts should have the user (to be replaced) deleted. +** DO NOT DELETE THE USER'S HOME DIRECTORY. +* Merge patchset with username change (UID remains the same). +* Run puppet on affected hosts, and they will create the new user (using the same UID.) +* Batch move the contents of the old user home into the new user home. Rarely used feature (USE WITH CARE AND CAUTION): -- To view, visit https://gerrit.wikimedia.org/r/377342 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2c64faeff9bf56e4cc6ad619dabcc9e894fb8f72 Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: RobH <r...@wikimedia.org> Gerrit-Reviewer: RobH <r...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits