1 2 3 4 5 6
#!/bin/sh adduser -S -h /var/lib/gogs -s /bin/ash -G www-data -D -g gogs gogs 2>/dev/null passwd -u gogs 2>/dev/null exit 0