From 03a709902c0b9c8a1ede786cd4f5ee70c5bebaaa Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 15 Oct 2002 20:13:43 +0000 Subject: Add info on chpass on *BSD systems (thanks Krzysztof Kowalik ) (This used to be commit 5a81ac79dbf40eee3c506cd11d473a1fcfd38df0) --- docs/docbook/projdoc/Samba-PDC-HOWTO.sgml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/docbook') 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" -s /bin/false machine_name$ < root# passwd -l machine_name$ +On *BSD systems, this can be done using the 'chpass' utility: + + +root# chpass -a "machine_name$:*:101:100::0:0:Workstation machine_name:/dev/null:/sbin/nologin" + + The /etc/passwd entry will list the machine name with a "$" appended, won't have a password, will have a null shell and no -- cgit