summaryrefslogtreecommitdiff
path: root/docs/Samba-Guide/Chap04-SecureOfficeServer.xml
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2004-10-20 05:58:37 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:05 -0500
commit9b812456e69594f0ba23a4aebdaae68001d110de (patch)
tree1e9ba464cd9aa4039396b94c3cfb6eb45e3d4347 /docs/Samba-Guide/Chap04-SecureOfficeServer.xml
parent48341dd542a6b509cbd5dbfa31e447036cc3dc58 (diff)
downloadsamba-9b812456e69594f0ba23a4aebdaae68001d110de.tar.gz
samba-9b812456e69594f0ba23a4aebdaae68001d110de.tar.bz2
samba-9b812456e69594f0ba23a4aebdaae68001d110de.zip
Updates and fixes.
(This used to be commit 6c66bd83e6ed9ebba14029caad81bcef29465b09)
Diffstat (limited to 'docs/Samba-Guide/Chap04-SecureOfficeServer.xml')
-rw-r--r--docs/Samba-Guide/Chap04-SecureOfficeServer.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/Samba-Guide/Chap04-SecureOfficeServer.xml b/docs/Samba-Guide/Chap04-SecureOfficeServer.xml
index 6d52053fe0..13a264a0dc 100644
--- a/docs/Samba-Guide/Chap04-SecureOfficeServer.xml
+++ b/docs/Samba-Guide/Chap04-SecureOfficeServer.xml
@@ -890,11 +890,11 @@ echo -e "\nNAT firewall done.\n"
<smbconfoption><name>time server</name><value>Yes</value></smbconfoption>
<smbconfoption><name>printcap name</name><value>CUPS</value></smbconfoption>
<smbconfoption><name>show add printer wizard</name><value>No</value></smbconfoption>
-<smbconfoption><name>add user script</name><value>/usr/sbin/useradd -m %u</value></smbconfoption>
-<smbconfoption><name>delete user script</name><value>/usr/sbin/userdel -r %u</value></smbconfoption>
-<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 user script</name><value>/usr/sbin/useradd -m '%u'</value></smbconfoption>
+<smbconfoption><name>delete user script</name><value>/usr/sbin/userdel -r '%u'</value></smbconfoption>
+<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</value></smbconfoption>
<member><parameter>-s /bin/false -d /dev/null %u</parameter></member>
<smbconfoption><name>shutdown script</name><value>/var/lib/samba/scripts/shutdown.sh</value></smbconfoption>