diff options
Diffstat (limited to 'docs')
-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 | ||||
-rw-r--r-- | docs/Samba-HOWTO-Collection/DomainMember.xml | 4 | ||||
-rw-r--r-- | docs/Samba-HOWTO-Collection/FastStart.xml | 2 | ||||
-rw-r--r-- | docs/smbdotconf/logon/addmachinescript.xml | 2 |
6 files changed, 8 insertions, 8 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> diff --git a/docs/Samba-HOWTO-Collection/DomainMember.xml b/docs/Samba-HOWTO-Collection/DomainMember.xml index c059034115..d0c72ee126 100644 --- a/docs/Samba-HOWTO-Collection/DomainMember.xml +++ b/docs/Samba-HOWTO-Collection/DomainMember.xml @@ -200,7 +200,7 @@ a Linux-based Samba server: <indexterm><primary>useradd</primary></indexterm> <indexterm><primary>vipw</primary></indexterm> <screen> -&rootprompt;<userinput>/usr/sbin/useradd -g machines -d /dev/null -c <replaceable>"machine nickname"</replaceable> \ +&rootprompt;<userinput>/usr/sbin/useradd -g machines -d /var/lib/nobody -c <replaceable>"machine nickname"</replaceable> \ -s /bin/false <replaceable>machine_name</replaceable>$ </userinput> &rootprompt;<userinput>passwd -l <replaceable>machine_name</replaceable>$</userinput> @@ -378,7 +378,7 @@ Here is an example for a Red Hat Linux system. <para><smbconfblock> <smbconfsection>[global]</smbconfsection> <smbconfcomment><...remainder of parameters...></smbconfcomment> -<smbconfoption><name>add machine script</name><value>/usr/sbin/useradd -d /dev/null -g 100 \</value></smbconfoption> +<smbconfoption><name>add machine script</name><value>/usr/sbin/useradd -d /var/lib/nobody -g 100 \</value></smbconfoption> <member><parameter> -s /bin/false -M %u</parameter></member> </smbconfblock></para> diff --git a/docs/Samba-HOWTO-Collection/FastStart.xml b/docs/Samba-HOWTO-Collection/FastStart.xml index d17a13e1ee..b2cde2bd96 100644 --- a/docs/Samba-HOWTO-Collection/FastStart.xml +++ b/docs/Samba-HOWTO-Collection/FastStart.xml @@ -890,7 +890,7 @@ maryo:x:15000:15003:Mary Orville:/home/MIDEARTH/maryo:/bin/false <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 \</value></smbconfoption> -<member><parameter> -d /dev/null %u</parameter></member> +<member><parameter> -d /var/lib/nobody %u</parameter></member> <smbconfcomment>Note: The following specifies the default logon script.</smbconfcomment> <smbconfcomment>Per user logon scripts can be specified in the user account using pdbedit </smbconfcomment> <smbconfoption><name>logon script</name><value>scripts\logon.bat</value></smbconfoption> diff --git a/docs/smbdotconf/logon/addmachinescript.xml b/docs/smbdotconf/logon/addmachinescript.xml index bd76d00a6c..3d637924be 100644 --- a/docs/smbdotconf/logon/addmachinescript.xml +++ b/docs/smbdotconf/logon/addmachinescript.xml @@ -16,5 +16,5 @@ </description> <value type="default"/> -<value type="example">/usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u</value> +<value type="example">/usr/sbin/adduser -n -g machines -c Machine -d /var/lib/nobody -s /bin/false %u</value> </samba:parameter> |