-changed settings for personal development
This commit is contained in:
parent
f6de7e5c31
commit
dcda802e48
4 changed files with 27 additions and 26 deletions
|
@ -34,6 +34,12 @@ def create_user(username):
|
|||
# Make the pypo user
|
||||
print "Creating user "+username
|
||||
os.system("adduser --system --quiet --group --shell /bin/bash "+username)
|
||||
|
||||
#set pypo password
|
||||
p = os.popen('/usr/bin/passwd pypo', 'w')
|
||||
p.write('pypo\n')
|
||||
p.write('pypo\n')
|
||||
p.close()
|
||||
else:
|
||||
print "User already exists."
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue