Page MenuHomeFreeBSD

D55799.id173572.diff
No OneTemporary

D55799.id173572.diff

diff --git a/documentation/content/en/articles/new-users/_index.adoc b/documentation/content/en/articles/new-users/_index.adoc
--- a/documentation/content/en/articles/new-users/_index.adoc
+++ b/documentation/content/en/articles/new-users/_index.adoc
@@ -116,21 +116,15 @@
You can quit `adduser` at any time by typing kbd:[Ctrl+C].
At the end you will be asked to confirm the new account or cancel it by typing kbd:[n].
-You might want to create a second new user so that when you edit `jack`'s login files, you will have a hot spare in case something goes wrong.
+You might want to create a second new user so that when you edit jack's login files, you will have a hot spare in case something goes wrong.
Once you have created the user, type `exit` to return to a login prompt and log in as `jack`.
In general, it is a good idea to do as much work as possible as an ordinary user who does not have the power — and risk — of `root`.
If you already created a user and want that user to be able to `su` to `root`, you can add the user to the `wheel` group.
This can be done by editing the file [.filename]#/etc/group#.
-Since this file is sensitive, use the man:pw[8] command to do it for you, for example:
-
-[source,shell]
-....
-# pw groupmod wheel -m jack
-....
-
-To edit configuration files you can use the text editor man:vi[1] or the simpler editor man:ee[1], which is included in the FreeBSD base system footnote:[See extref:{handbook}basics[Text editors, editors] in the FreeBSD Handbook.].
+But first you need to practice man:vi[1], the text editor-or use the simpler text editor, man:ee[1], installed on recent versions of FreeBSD footnote:[See extref:{handbook}basics[Text editors, editors] in the FreeBSD Handbook.].
+Basic editing will be explained later in the crossref:new-users[editing-text,Editing Text] section.
To delete a user, use man:rmuser[8] footnote:[See extref:{handbook}basics[Removing a user, users-rmuser] in the FreeBSD Handbook.].
@@ -564,14 +558,16 @@
# service sshd status
....
-To enable a service at system startup, use `sysrc` to modify [.filename]#/etc/rc.conf#:
+To enable a service at system startup, use the `enable` action of the `service` command:
[source,shell]
....
-# sysrc sshd_enable="YES"
+# service sshd enable
....
-See man:service[8] and man:sysrc[8] for more information.
+This command adds the appropriate setting to [.filename]#/etc/rc.conf#, so the service will start automatically when the system boots.
+
+See man:service[8] for more information.
=== ZFS Basics
@@ -584,13 +580,19 @@
% zfs list
....
-ZFS also supports snapshots, which allow you to preserve the state of a filesystem at a particular point in time:
+ZFS also supports snapshots, which allow you to preserve the state of a filesystem at a particular point in time.
+A snapshot name is appended to the dataset name after the `@` character:
[source,shell]
....
# zfs snapshot zroot/home@before-edit
....
+Here, `zroot/home` is the dataset name (as shown in `zfs list`), and `before-edit` is an arbitrary snapshot name.
+
+Snapshots are very useful and have many practical applications.
+For example, boot environments managed with man:bectl[8] use ZFS snapshots to preserve the state of the system before system upgrades, allowing you to boot into the previous state if something goes wrong footnote:[See extref:{handbook}cutting-edge[Upgrading FreeBSD with Boot Environments: bectl,pkgbase-major-zfs] in the FreeBSD Handbook].
+
See extref:{handbook}zfs[ZFS chapter in FreeBSD Handbook] or man:zfs[8] for more information.
=== Updating the Base System
@@ -607,7 +609,7 @@
=== Security audit
-You can also check installed packages for known security vulnerabilities:
+You can also check installed packages for known security vulnerabilities footnote:[See extref:{handbook}security[Monitoring Third Party Security Issues: pkg audit, security-pkg] in the FreeBSD Handbook]:
[source,shell]
....

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 22, 8:52 AM (5 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35357928
Default Alt Text
D55799.id173572.diff (3 KB)

Event Timeline