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
This commit is contained in:
Lance Edgar 2018-07-29 19:33:59 -05:00
parent 31acf33465
commit b554e40e7b

View file

@ -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')