Page MenuHomeFreeBSD

D40566.id123278.diff
No OneTemporary

D40566.id123278.diff

Index: documentation/content/en/books/handbook/security/_index.adoc
===================================================================
--- documentation/content/en/books/handbook/security/_index.adoc
+++ 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
Tue, Apr 21, 2:29 PM (9 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31915631
Default Alt Text
D40566.id123278.diff (874 B)

Event Timeline