projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bad6113
)
nfs: install passwd entries for nobody and nfsnobody
author
Harald Hoyer
<harald@redhat.com>
Thu, 26 Nov 2009 09:38:06 +0000
(10:38 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 26 Nov 2009 09:38:06 +0000
(10:38 +0100)
modules.d/95nfs/install
patch
|
blob
|
history
diff --git
a/modules.d/95nfs/install
b/modules.d/95nfs/install
index
7cbb513
..
2b2d7cf
100755
(executable)
--- a/
modules.d/95nfs/install
+++ b/
modules.d/95nfs/install
@@
-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