Date: Fri, 5 Nov 2004 19:31:57 GMT From: Pierre-Paul Lavoie <ppl@nbnet.nb.ca> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/73577: Extra cat(1) in example section of samba Message-ID: <200411051931.iA5JVvEq045000@www.freebsd.org> Resent-Message-ID: <200411051940.iA5JeZqR051524@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 73577
>Category: docs
>Synopsis: Extra cat(1) in example section of samba
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 05 19:40:35 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Pierre-Paul Lavoie
>Release:
>Organization:
>Environment:
>Description:
Section "23.10.2.3 Security Settings" of the FreeBSD handbook.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-samba.html
The example is
# cat /etc/passwd | grep -v "^#" | make_smbpasswd > /usr/local/private/smbpasswd
# chmod 600 /usr/local/private/smbpasswd
The first command should be
# grep -v "^#" /etc/passwd | make_smbpasswd > /usr/local/private/smbpasswd
or
# grep -v "^#" < /etc/passwd | make_smbpasswd > /usr/local/private/smbpasswd
I would think that the former is better.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411051931.iA5JVvEq045000>
