diff options
author | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-03-21 09:44:18 +0100 |
---|---|---|
committer | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-03-21 09:44:18 +0100 |
commit | 99c96c08fe5915f5c5739a5b2774ea27d4c54f34 (patch) | |
tree | 942c987c3f9d4fdadd2b5c0de271da32ba18c535 | |
parent | 5ab95f8f5ba03577b032e3bdfc399fa3d5e2c020 (diff) |
Add --force-badname option to add_user method.
-rw-r--r-- | scripts/ldap_sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ldap_sync.py b/scripts/ldap_sync.py index 2566a75..0915fb4 100644 --- a/scripts/ldap_sync.py +++ b/scripts/ldap_sync.py @@ -76,7 +76,7 @@ class SystemCommand(): @classmethod def add_user(cls, username): - cmd_args = ["adduser", "--disabled-password", + cmd_args = ["adduser", "--disabled-password", "--force-badname", "--quiet", "--gecos", "''", username] cls.execute(cmd_args) |