summaryrefslogtreecommitdiff
path: root/docs/Samba-Guide
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2005-02-09 21:06:50 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:13 -0500
commit742c229442700b468b9046e8145f3877d58f47ad (patch)
tree52544bec5db4159295fbcf4de5b53eba0ca99478 /docs/Samba-Guide
parent55023832945ded39224506b26ea5c1cea8feecf5 (diff)
downloadsamba-742c229442700b468b9046e8145f3877d58f47ad.tar.gz
samba-742c229442700b468b9046e8145f3877d58f47ad.tar.bz2
samba-742c229442700b468b9046e8145f3877d58f47ad.zip
Commiting Lars Mueller's patch.
(This used to be commit 281ee4093bbc4d4cb7c849bcbe8bdc08a6b726ba)
Diffstat (limited to 'docs/Samba-Guide')
-rw-r--r--docs/Samba-Guide/Chap03-TheSmallOffice.xml4
-rw-r--r--docs/Samba-Guide/Chap04-SecureOfficeServer.xml2
-rw-r--r--docs/Samba-Guide/Chap05-500UserNetwork.xml2
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/Samba-Guide/Chap03-TheSmallOffice.xml b/docs/Samba-Guide/Chap03-TheSmallOffice.xml
index a54ac178e8..9baa6036fc 100644
--- a/docs/Samba-Guide/Chap03-TheSmallOffice.xml
+++ b/docs/Samba-Guide/Chap03-TheSmallOffice.xml
@@ -665,7 +665,7 @@ hosts: files wins
<smbconfoption><name>delete group script</name><value>/usr/sbin/groupdel '%g'</value></smbconfoption>
<smbconfoption><name>add user to group script</name><value>/usr/sbin/usermod -G '%g' '%u'</value></smbconfoption>
<smbconfoption><name>add machine script</name><value>/usr/sbin/useradd \</value></smbconfoption>
-<member><parameter>-s /bin/false -d /dev/null '%u'</parameter></member>
+<member><parameter>-s /bin/false -d /var/lib/nobody '%u'</parameter></member>
<smbconfoption><name>logon script</name><value>scripts\login.bat</value></smbconfoption>
<smbconfoption><name>logon path</name><value> </value></smbconfoption>
<smbconfoption><name>logon drive</name><value>X:</value></smbconfoption>
@@ -751,7 +751,7 @@ Loaded services file OK.
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/usermod -G '%g' '%u'
add machine script = /usr/sbin/useradd
- -s /bin/false -d /dev/null '%u'
+ -s /bin/false -d /var/lib/nobody '%u'
logon script = scripts\logon.bat
logon path =
logon drive = X:
diff --git a/docs/Samba-Guide/Chap04-SecureOfficeServer.xml b/docs/Samba-Guide/Chap04-SecureOfficeServer.xml
index bc60ca662e..bd6f477ccc 100644
--- a/docs/Samba-Guide/Chap04-SecureOfficeServer.xml
+++ b/docs/Samba-Guide/Chap04-SecureOfficeServer.xml
@@ -1924,7 +1924,7 @@ Loaded services file OK.
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd \
- -s /bin/false -d /dev/null %u
+ -s /bin/false -d /var/lib/nobody %u
shutdown script = /var/lib/samba/scripts/shutdown.sh
abort shutdown script = /sbin/shutdown -c
logon script = scripts\logon.bat
diff --git a/docs/Samba-Guide/Chap05-500UserNetwork.xml b/docs/Samba-Guide/Chap05-500UserNetwork.xml
index 6ca3d72bb8..f1f36831af 100644
--- a/docs/Samba-Guide/Chap05-500UserNetwork.xml
+++ b/docs/Samba-Guide/Chap05-500UserNetwork.xml
@@ -957,7 +957,7 @@ hosts: files dns wins
<smbconfoption><name>add group script</name><value>/usr/sbin/groupadd '%g'</value></smbconfoption>
<smbconfoption><name>delete group script</name><value>/usr/sbin/groupdel '%g'</value></smbconfoption>
<smbconfoption><name>add user to group script</name><value>/usr/sbin/usermod -G '%g' '%u'</value></smbconfoption>
-<smbconfoption><name>add machine script</name><value>/usr/sbin/useradd -s /bin/false -d /dev/null '%u'</value></smbconfoption>
+<smbconfoption><name>add machine script</name><value>/usr/sbin/useradd -s /bin/false -d /var/lib/nobody '%u'</value></smbconfoption>
<smbconfoption><name>preferred master</name><value>Yes</value></smbconfoption>
<smbconfoption><name>wins support</name><value>Yes</value></smbconfoption>
<smbconfoption><name>include</name><value>/etc/samba/dc-common.conf</value></smbconfoption>