nfs: install passwd entries for nobody and nfsnobody
parent
bad6113059
commit
48df9fcc11
|
@ -36,6 +36,8 @@ mkdir -p "$initdir/var/lib/nfs/statd/sm"
|
|||
|
||||
# Rather than copy the passwd file in, just set a user for rpcbind
|
||||
# We'll save the state and restart the daemon from the root anyway
|
||||
egrep '^nobody:' /etc/passwd >> "$initdir/etc/passwd"
|
||||
egrep '^nfsnobody:' /etc/passwd >> "$initdir/etc/passwd"
|
||||
egrep '^rpc:' /etc/passwd >> "$initdir/etc/passwd"
|
||||
egrep '^rpcuser:' /etc/passwd >> "$initdir/etc/passwd"
|
||||
#which nologin >/dev/null 2>&1 && dracut_install nologin
|
||||
|
|
Loading…
Reference in New Issue