=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== ruby-dataobjects-postgres-0.10.17/debian/start_postgres_and_auto_install.sh-13- ruby-dataobjects-postgres-0.10.17/debian/start_postgres_and_auto_install.sh:14:SCRIPT_USER=`stat -c %U $0` ruby-dataobjects-postgres-0.10.17/debian/start_postgres_and_auto_install.sh-15-ME=`whoami` ############################################## ruby-dataobjects-postgres-0.10.17/debian/start_postgres_and_auto_install.sh-19- ruby-dataobjects-postgres-0.10.17/debian/start_postgres_and_auto_install.sh:20:INFO=`${BINDIR}/initdb -D --locale=C -E UTF-8 ${MYTEMP_DIR} 2>&1 || true` ruby-dataobjects-postgres-0.10.17/debian/start_postgres_and_auto_install.sh-21-#if we are root, we need to find another user to run the server ############################################## ruby-dataobjects-postgres-0.10.17/debian/start_postgres_and_auto_install.sh-34- FOUNDUSER=$((FOUNDUSER + 1)) ruby-dataobjects-postgres-0.10.17/debian/start_postgres_and_auto_install.sh:35: ( cd $MYTEMP_DIR ; INFO=`su -m $SU_USER -c "${BINDIR}/initdb --locale=C -E UTF-8 -D ${MYTEMP_DIR} 2>&1"` ) || continue ruby-dataobjects-postgres-0.10.17/debian/start_postgres_and_auto_install.sh-36- [ $? -eq 0 ] && break ############################################## ruby-dataobjects-postgres-0.10.17/debian/start_postgres_and_auto_install.sh-38- if [ "$SU_USER" = "" ]; then ruby-dataobjects-postgres-0.10.17/debian/start_postgres_and_auto_install.sh:39: TEST_USER=`echo $INFO | sed -e "s/owned by user (\.+)/$1/"` ruby-dataobjects-postgres-0.10.17/debian/start_postgres_and_auto_install.sh-40- fi