git: 70fec4c1c5 - main - handbook: use userid example other than `toor`

Ed Maste <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by emaste:

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

commit 70fec4c1c5799844f2269aade3e558535e3d2e79
Author:     Ed Maste <[email protected]>
AuthorDate: 2023-06-15 13:29:18 +0000
Commit:     Ed Maste <[email protected]>
CommitDate: 2023-06-15 14:44:48 +0000

    handbook: use userid example other than `toor`
    
    The example `pw lock` invocation does not need to reference a superuser
    account, so just use a hypothetical user's userid.  I chose an arbitrary
    name from Wikipedia's Unisex_name page.
    
    Reviewed by:    debdrup
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D40566
---
 documentation/content/en/books/handbook/security/_index.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/documentation/content/en/books/handbook/security/_index.adoc b/documentation/content/en/books/handbook/security/_index.adoc
index 0185fea3b4..3488dbd985 100644
--- a/documentation/content/en/books/handbook/security/_index.adoc
+++ b/documentation/content/en/books/handbook/security/_index.adoc
@@ -120,11 +120,11 @@ Disable any accounts that do not need login access.
 
 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 @@ Only the superuser can change the shell for other users:
 
 [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.
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.