diff options
Diffstat (limited to 'docs/Samba-Guide')
-rw-r--r-- | docs/Samba-Guide/Chap03-TheSmallOffice.xml | 4 | ||||
-rw-r--r-- | docs/Samba-Guide/Chap04-SecureOfficeServer.xml | 2 | ||||
-rw-r--r-- | docs/Samba-Guide/Chap05-500UserNetwork.xml | 2 |
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> |