5 chown root:$x2go_user /usr/lib/x2go/x2gosqlitewrapper
6 chmod 2755 /usr/lib/x2go/x2gosqlitewrapper
10 if ! getent passwd $x2go_user &> /dev/null; then
11 useradd -d /var/lib/x2go -s /bin/false $x2go_user &> /dev/null
12 passwd -l $x2go_user &> /dev/null
13 echo " ==> User '$x2go_user' created"
19 ==> Use the following command to setup sqlite database:
21 ==> x2godbadmin --createdb
31 userdel $x2go_user &> /dev/null
32 echo " ==> User '$x2go_user' removed"