From b554e40e7b8c48a33fa516bdcd13615083219ec6 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sun, 29 Jul 2018 19:33:59 -0500 Subject: [PATCH] Stop adding "current user" to 'rattail' system group not sure why i ever did that..? hopefully this is safe and can just delete that code some day --- rattail_fabric/rattail.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rattail_fabric/rattail.py b/rattail_fabric/rattail.py index 187ac6d..8f8b94f 100644 --- a/rattail_fabric/rattail.py +++ b/rattail_fabric/rattail.py @@ -39,7 +39,8 @@ def bootstrap_rattail(home='/var/lib/rattail', uid=None, shell='/bin/bash'): Bootstrap a basic Rattail software environment. """ make_system_user('rattail', home=home, uid=uid, shell=shell) - sudo('adduser {} rattail'.format(env.user)) + # TODO: pretty sure this is not needed, and a bad/sloppy idea anyway? + # sudo('adduser {} rattail'.format(env.user)) with cd(home): mkdir('.ssh', owner='rattail:', mode='0700')