Page MenuHomeFreeBSD

D40566.1790620194.diff
No OneTemporary

Size
874 B
Referenced Files
None
Subscribers
None

D40566.1790620194.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
Mon, Sep 28, 6:29 PM (18 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29985909
Default Alt Text
D40566.1790620194.diff (874 B)

Event Timeline