summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-10-15 20:13:43 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-10-15 20:13:43 +0000
commit03a709902c0b9c8a1ede786cd4f5ee70c5bebaaa (patch)
treea116e923060d79966bbc6f589fa3837a9080a841 /docs
parentca5759f796b153f702669942f7e01e498cc1170f (diff)
downloadsamba-03a709902c0b9c8a1ede786cd4f5ee70c5bebaaa.tar.gz
samba-03a709902c0b9c8a1ede786cd4f5ee70c5bebaaa.tar.bz2
samba-03a709902c0b9c8a1ede786cd4f5ee70c5bebaaa.zip
Add info on chpass on *BSD systems (thanks Krzysztof Kowalik <kkowalik@uci.agh.edu.pl>)
(This used to be commit 5a81ac79dbf40eee3c506cd11d473a1fcfd38df0)
Diffstat (limited to 'docs')
-rw-r--r--docs/docbook/projdoc/Samba-PDC-HOWTO.sgml6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/docbook/projdoc/Samba-PDC-HOWTO.sgml b/docs/docbook/projdoc/Samba-PDC-HOWTO.sgml
index 5b21e0a535..25a9783277 100644
--- a/docs/docbook/projdoc/Samba-PDC-HOWTO.sgml
+++ b/docs/docbook/projdoc/Samba-PDC-HOWTO.sgml
@@ -341,6 +341,12 @@ nickname"</replaceable> -s /bin/false <replaceable>machine_name</replaceable>$ <
<prompt>root# </prompt><command>passwd -l <replaceable>machine_name</replaceable>$</command>
</para>
+<para>On *BSD systems, this can be done using the 'chpass' utility:</para>
+
+<para>
+<prompt>root# </prompt><command>chpass -a "<replaceable>machine_name</replaceable>$:*:101:100::0:0:Workstation <replaceable>machine_name</replaceable>:/dev/null:/sbin/nologin"</command>
+</para>
+
<para>
The <filename>/etc/passwd</filename> entry will list the machine name
with a "$" appended, won't have a password, will have a null shell and no