Module Name:    src
Committed By:   uwe
Date:           Tue Jan  2 23:21:22 UTC 2024

Modified Files:
        src/share/man/man8: creds_msdos.8

Log Message:
creds_msdos(8): move descriptions into the list itself


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man8/creds_msdos.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man8/creds_msdos.8
diff -u src/share/man/man8/creds_msdos.8:1.3 src/share/man/man8/creds_msdos.8:1.4
--- src/share/man/man8/creds_msdos.8:1.3	Tue Jan  2 19:15:59 2024
+++ src/share/man/man8/creds_msdos.8	Tue Jan  2 23:21:22 2024
@@ -1,4 +1,4 @@
-.\"	$NetBSD: creds_msdos.8,v 1.3 2024/01/02 19:15:59 uwe Exp $
+.\"	$NetBSD: creds_msdos.8,v 1.4 2024/01/02 23:21:22 uwe Exp $
 .\"
 .\" Copyright (c) 2019 Matthew R. Green
 .\" All rights reserved.
@@ -54,61 +54,47 @@ it will inspect the file
 .Pa creds.txt
 for any credentials to be added to the system.
 .Pp
-These are the supported options in the credentials files:
-.Pp
-.Bl -tag -compact -width Ic -offset indent
-.It Ic sshkeyfile Ar user Ar keyfile
-.It Ic sshkey Ar user Ar keystring
-.It Ic useraddpwhash Ar user Ar pwhash
-.It Ic useradd Ar user Ar password
-.El
-.Pp
+The following list gives the supported options in the credentials files.
 In all cases
 .Ar user
-is the username to be added, and the user will be
-added to the
+is the username to be created, and the user will be added to the
 .Ql wheel
 group.
-.Pp
-The
-.Ic sshkeyfile
-method looks in the MSDOS boot partition for
-the specified file and merges ssh keys from this file into
-.Ar user Ap s
+.Bl -tag -width Ic
+.\"
+.It Ic sshkeyfile Ar user Ar keyfile
+Look for the
+.Ar keyfile
+in the MSDOS boot partition and merge ssh keys from this file into user's
 .Pa ~/.ssh/authorized_keys
 file.
-.Pp
-The
-.Ic sshkey
-method adds the
+.\"
+.It Ic sshkey Ar user Ar keystring
+Add the
 .Ar keystring
-to the
-.Ar user Ap s
+to the user's
 .Pa ~/.ssh/authorized_keys
 file.
-.Pp
-The
-.Ic useraddpwhash
-method uses
+.\"
+.It Ic useraddpwhash Ar user Ar pwhash
+Use
 .Ar pwhash
-as the
-.Ar users Ap s
-password hash.
-.Pp
-The above three methods are the preferred methods.
-.Pp
-For the
-.Ic useradd
-method
+as the users's password hash.
+.\"
+.It Ic useradd Ar user Ar password
+Use
 .Ar password
-is an unencrypted raw password that will be hashed and added to the system.
-This method is not recommended as it leaves unencrypted passwords
-around until such time that the script runs.
+as the users's unencrypted raw password that will be hashed.
+.Pp
+This method is
+.Em not recommended
+as it leaves unencrypted passwords around until such time that the script runs.
 If this method is used then the
 .Pa creds.txt
 file will be shredded and deleted using
 .Ql rm -P
 after the credentials are updated.
+.El
 .Sh FILES
 .Pa /boot/creds.txt
 .Sh SEE ALSO

Reply via email to