milis/talimatname/genel/n/nfs-utils/nfs-utils.kos-kur

7 lines
234 B
Plaintext

newuser=nobody
newgroup=nogroup
newid=99
getent group $newgroup || /usr/bin/groupadd -g $newid $newgroup
getent passwd $newuser || /usr/bin/useradd -c "Unprivileged Nobody" \
-g $newgroup -u $newid -d /dev/null -s /bin/false $newuser