Avoid a useless use of cat for passing a single file to grep.
PR: 73577 Submitted by: Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
This commit is contained in:
parent
e7cc0c839f
commit
9d149f83a2
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=22795
1 changed files with 1 additions and 1 deletions
|
@ -4785,7 +4785,7 @@ DocumentRoot /www/someotherdomain.tld
|
|||
your &unix; user accounts access from &windows; clients, use the
|
||||
following command:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cat /etc/passwd | grep -v "^#" | make_smbpasswd > /usr/local/private/smbpasswd</userinput>
|
||||
<screen>&prompt.root; <userinput>grep -v "^#" /etc/passwd | make_smbpasswd > /usr/local/private/smbpasswd</userinput>
|
||||
&prompt.root; <userinput>chmod 600 /usr/local/private/smbpasswd</userinput></screen>
|
||||
|
||||
<para>Please see the <application>Samba</application>
|
||||
|
|
Loading…
Reference in a new issue