add pypo user to audio group during installation.

This commit is contained in:
mkonecny 2011-01-13 13:12:35 -05:00
parent 490adb854c
commit 5afa844553
2 changed files with 5 additions and 0 deletions

View file

@ -35,6 +35,9 @@ def create_user(username):
print "Creating user "+username
os.system("adduser --system --quiet --group --shell /bin/bash "+username)
#add pypo to audio group
os.system("adduser " + username + " audio")
#set pypo password
p = os.popen('/usr/bin/passwd pypo', 'w')
p.write('pypo\n')