Add beginnings of makeuser script

This commit is contained in:
Robert Miles 2018-09-20 10:04:19 -04:00
parent c8779fbe5f
commit e05705d6c9
1 changed files with 11 additions and 0 deletions

11
makeuser Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/python3
import os,argparse
parser = argparse.ArgumentParser(prog="makeuser",description="A user adding script.")
parser.add_argument("username",help="Username of user.")
parser.add_argument("email",help="Email of user.")
parser.add_argument("key",help="The user's SSH pubkey.")
args = parser.parse_args()
print(args.username,args.email,args.key)