Add info on chpass on *BSD systems (thanks Krzysztof Kowalik <kkowalik@uci.agh.edu...
authorJelmer Vernooij <jelmer@samba.org>
Tue, 15 Oct 2002 20:13:43 +0000 (20:13 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 15 Oct 2002 20:13:43 +0000 (20:13 +0000)
(This used to be commit 5a81ac79dbf40eee3c506cd11d473a1fcfd38df0)

docs/docbook/projdoc/Samba-PDC-HOWTO.sgml

index 5b21e0a535f180abe9a1ee4556af4edaa56b3fda..25a9783277b723a1a6aa23b736a6ea2832c9db38 100644 (file)
@@ -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