From: <smi...@us...> - 2003-12-23 01:59:25
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv31005/scripts Modified Files: mysql Log Message: run mysql daemon under user mysql Index: mysql =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/mysql,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- mysql 23 Dec 2003 01:24:39 -0000 1.15 +++ mysql 23 Dec 2003 01:59:22 -0000 1.16 @@ -57,6 +57,9 @@ copy_files $WORKDIR/tmp/usr $CDDIR || exit 1 rm -rf $WORKDIR/tmp || exit 1 + groupadd -g 46 mysql || exit 1 + useradd -u 46 -g mysql -s /bin/false mysql || exit 1 + if [ "$CONFIG_MYSQL_SERVER" = "y" ]; then echo "# Start MySQL Server?" >> $CONFIGFILE echo "START_MYSQL=no" >> $CONFIGFILE |