git: dbde991014 - main - Replace named with sshd in an example

Mateusz Piotrowski <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/doc/commit/?id=dbde9910146157cd33559c36a866542f2c3b73cd

commit dbde9910146157cd33559c36a866542f2c3b73cd
Author:     Mateusz Piotrowski <[email protected]>
AuthorDate: 2021-04-19 09:38:28 +0000
Commit:     Mateusz Piotrowski <[email protected]>
CommitDate: 2021-04-19 09:38:28 +0000

    Replace named with sshd in an example
    
    Also, mention the existence of the sysrc(8) tool.
---
 documentation/content/en/books/faq/_index.adoc | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/documentation/content/en/books/faq/_index.adoc b/documentation/content/en/books/faq/_index.adoc
index a5fdb454d1..a1044ab155 100644
--- a/documentation/content/en/books/faq/_index.adoc
+++ b/documentation/content/en/books/faq/_index.adoc
@@ -1336,11 +1336,18 @@ ZFS TRIM support was added to GELI as of link:https://svnweb.freebsd.org/changes
 
 The primary configuration file is [.filename]#/etc/defaults/rc.conf# which is described in man:rc.conf[5]. System startup scripts such as [.filename]#/etc/rc# and [.filename]#/etc/rc.d#, which are described in man:rc[8], include this file. _Do not edit this file!_ Instead, to edit an entry in [.filename]#/etc/defaults/rc.conf#, copy the line into [.filename]#/etc/rc.conf# and change it there.
 
-For example, if to start man:named[8], the included DNS server:
+For example, to start man:sshd[8], the included OpenSSH daemon:
 
 [source,shell]
 ....
-# echo 'named_enable="YES"' >> /etc/rc.conf
+# echo 'sshd_enable="YES"' >> /etc/rc.conf
+....
+
+Alternatively, use man:sysrc[8] to modify [.filename]#/etc/rc.conf#:
+
+[source,shell]
+....
+# sysrc sshd_enable="YES"
 ....
 
 To start up local services, place shell scripts in the [.filename]#/usr/local/etc/rc.d# directory. These shell scripts should be set executable, the default file mode is `555`.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.