forked from ports/contrib
11 lines
252 B
Bash
11 lines
252 B
Bash
#!/bin/sh
|
|
|
|
user="jenkins"
|
|
group="jenkins"
|
|
home="/var/lib/$user"
|
|
|
|
/usr/bin/getent group $group >/dev/null || /usr/sbin/groupadd $group
|
|
/usr/bin/getent passwd $user >/dev/null || /usr/sbin/useradd -s /sbin/nologin -d $home -g $group $user
|
|
|
|
# End of file
|