#!/usr/bin/python import os.path import subprocess import sys from random import randint import xkcdPasswd import PiClusterTools as pct username = sys.argv[1] pct.initUserTable() if pct.isUserRegistered(username) == False: pct.registerUserOnMin(username)
#!/usr/bin/python import os.path import subprocess import sys from random import randint import xkcdPasswd import PiClusterTools as pct username = sys.argv[1] if (pct.isUserRegistered(username)): pct.deleteUser(username)