1 2 3 4 5 6
#!/bin/sh addgroup -S mysql 2>/dev/null adduser -h /var/lib/mysql -s /sbin/nologin -G mysql -D mysql 2>/dev/null exit 0