Page MenuHomeFreeBSD

D40566.diff
No OneTemporary

D40566.diff

diff --git a/documentation/content/en/books/handbook/security/_index.adoc b/documentation/content/en/books/handbook/security/_index.adoc
--- a/documentation/content/en/books/handbook/security/_index.adoc
+++ b/documentation/content/en/books/handbook/security/_index.adoc
@@ -120,11 +120,11 @@
To deny login access to accounts, two methods exist.
The first is to lock the account.
-This example locks the `toor` account:
+This example locks the `imani` account:
[source,shell]
....
-# pw lock toor
+# pw lock imani
....
The second method is to prevent login access by changing the shell to [.filename]#/usr/sbin/nologin#.
@@ -132,7 +132,7 @@
[source,shell]
....
-# chsh -s /usr/sbin/nologin toor
+# chsh -s /usr/sbin/nologin imani
....
The [.filename]#/usr/sbin/nologin# shell prevents the system from assigning a shell to the user when they attempt to login.

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 16, 3:55 PM (21 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15826946
Default Alt Text
D40566.diff (880 B)

Event Timeline