diff options
Diffstat (limited to 'docs/Samba-HOWTO-Collection')
-rw-r--r-- | docs/Samba-HOWTO-Collection/DomainMember.xml | 4 | ||||
-rw-r--r-- | docs/Samba-HOWTO-Collection/FastStart.xml | 2 |
2 files changed, 3 insertions, 3 deletions
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> |