Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

include config option to control homedir removal #112

Open
packetfairy opened this issue Jan 17, 2018 · 2 comments
Open

include config option to control homedir removal #112

packetfairy opened this issue Jan 17, 2018 · 2 comments

Comments

@packetfairy
Copy link

Operating System: Linux
AWS CLI Version: aws-cli/1.11.13 Python/3.5.2 Linux/4.13.0-1006-gcp botocore/1.4.70

userdel -r is a bit aggressive. It would be nice to have a config option to control homedir removal on account deletion.

@michaelwittig
Copy link
Contributor

we have a config USERADD_ARGS, so I suggest we just add something called USERDEL_ARGS?

@KusabiSensei
Copy link
Contributor

That's a trivial addition in my uninstall shell script that's on my fork.
https://github.com/KusabiSensei/aws-ec2-ssh/blob/feature/uninstall/uninstall.sh

I'm not sure what the best way to control that for packaged installations (rpm and deb) are.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants