Commits

Benoit C committed 265e82c

core folder for tests

  • Participants
  • Parent commits ae3855c

Comments (0)

Files changed (1)

src/fabulator/core/users.py

+# -*- coding: latin-1 -*-
+"""
+
+
+
+"""
+from fabulator.decorators import Permissions
+
+@Permissions("sudo_user")
+def del_user(username):
+    sudo("deluser %s" % username)
+
+@Permissions("sudo_user")
+def add_user(username):
+    sudo("adduser %s --quiet" % username)