[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
docs/73577: Extra cat(1) in example section of samba
- Subject: docs/73577: Extra cat(1) in example section of samba
- From: ppl at nbnet.nb.ca (Pierre-Paul Lavoie)
- Date: Fri Nov 5 11:40:54 2004
>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:
Visit your host, monkey.org