We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce73876 commit ff9abd4Copy full SHA for ff9abd4
pyinfra/operations/server.py
@@ -959,21 +959,6 @@ def user(
959
yield "pw usermod -n {1} {0}".format(" ".join(args), user)
960
else:
961
yield "usermod {0} {1}".format(" ".join(args), user)
962
- if comment:
963
- existing_user["comment"] = comment
964
- if home:
965
- existing_user["home"] = home
966
- if shell:
967
- existing_user["shell"] = shell
968
- if group:
969
- existing_user["group"] = group
970
- if groups:
971
- if append:
972
- existing_user["groups"] += groups
973
- else:
974
- existing_user["groups"] = groups
975
- if password:
976
- existing_user["password"] = password
977
978
# Ensure home directory ownership
979
if ensure_home and home:
0 commit comments