1 2 3 4 5 6 7 8 9
#!/bin/sh user=www-data group=www-data addgroup -S $group 2>/dev/null adduser -S -D -h /var/lib/$user -s /sbin/nologin -G $group -g $user $user 2>/dev/null exit 0