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