summaryrefslogtreecommitdiff
path: root/static/netbsd/man8/creds_msdos.8 4.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/netbsd/man8/creds_msdos.8 4.html')
-rw-r--r--static/netbsd/man8/creds_msdos.8 4.html99
1 files changed, 0 insertions, 99 deletions
diff --git a/static/netbsd/man8/creds_msdos.8 4.html b/static/netbsd/man8/creds_msdos.8 4.html
deleted file mode 100644
index a9d37cce..00000000
--- a/static/netbsd/man8/creds_msdos.8 4.html
+++ /dev/null
@@ -1,99 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">CREDS_MSDOS(8)</td>
- <td class="head-vol">System Manager's Manual</td>
- <td class="head-rtitle">CREDS_MSDOS(8)</td>
- </tr>
-</table>
-<div class="manual-text">
-<section class="Sh">
-<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
-<p class="Pp"><code class="Nm">creds_msdos</code> &#x2014;
- <span class="Nd">automatically add login credentials from MS-DOS
- partition</span></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<table class="Nm">
- <tr>
- <td><code class="Nm">creds_msdos</code></td>
- <td><var class="Ar">start</var></td>
- </tr>
-</table>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">The <code class="Nm">creds_msdos</code> rc.d script allows
- automatic addition of login credentials during boot using a special file
- found on the MS-DOS partition of a bootable image. This script is not
- distributed with the normal system and is only included with pre-installed
- bootable images. The goal is to allow remote access of the system without
- having to edit the primary root file system (which may not be accessible
- from the host the image is being written from), but place this information
- in the MS-DOS partition that most platforms can easily access.</p>
-<p class="Pp">Typically, an installable image (such as
- <span class="Pa">arm64.img</span>) is written to an SD card or similar
- media, and has both a native FFS partition as well as an MS-DOS partition
- for booting. If this script is enabled and has been pointed at the boot
- partition it will inspect the file <span class="Pa">creds.txt</span> for any
- credentials to be added to the system.</p>
-<p class="Pp">The following list gives the supported options in the credentials
- files. In all cases <var class="Ar">user</var> is the username to be
- created, and the user will be added to the
- &#x2018;<code class="Li">wheel</code>&#x2019; group.</p>
-<dl class="Bl-tag">
- <dt id="sshkeyfile"><a class="permalink" href="#sshkeyfile"><code class="Ic">sshkeyfile</code></a>
- <var class="Ar">user</var> <var class="Ar">keyfile</var></dt>
- <dd>Look for the <var class="Ar">keyfile</var> in the MS-DOS boot partition
- and merge ssh keys from this file into user's
- <span class="Pa">~/.ssh/authorized_keys</span> file.</dd>
- <dt id="sshkey"><a class="permalink" href="#sshkey"><code class="Ic">sshkey</code></a>
- <var class="Ar">user</var> <var class="Ar">keystring</var></dt>
- <dd>Add the <var class="Ar">keystring</var> to the user's
- <span class="Pa">~/.ssh/authorized_keys</span> file.</dd>
- <dt id="useraddpwhash"><a class="permalink" href="#useraddpwhash"><code class="Ic">useraddpwhash</code></a>
- <var class="Ar">user</var> <var class="Ar">pwhash</var></dt>
- <dd>Use <var class="Ar">pwhash</var> as the users's password hash.</dd>
- <dt id="useradd"><a class="permalink" href="#useradd"><code class="Ic">useradd</code></a>
- <var class="Ar">user</var> <var class="Ar">password</var></dt>
- <dd>Use <var class="Ar">password</var> as the users's unencrypted raw password
- that will be hashed.
- <p class="Pp" id="not">This method is
- <a class="permalink" href="#not"><i class="Em">not recommended</i></a>
- as it leaves unencrypted passwords around until such time that the
- script runs. If this method is used then the
- <span class="Pa">creds.txt</span> file will be shredded and deleted
- using &#x2018;<code class="Li">rm -P</code>&#x2019; after the
- credentials are updated.</p>
- </dd>
-</dl>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
-<p class="Pp"><span class="Pa">/boot/creds.txt</span></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
- ALSO</a></h1>
-<p class="Pp"><a class="Xr">pwhash(1)</a>, <a class="Xr">rm(1)</a>,
- <a class="Xr">ssh(1)</a>, <a class="Xr">ssh_config(5)</a>,
- <a class="Xr">mount_msdos(8)</a>, <a class="Xr">sshd(8)</a>,
- <a class="Xr">useradd(8)</a></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
-<p class="Pp">The <code class="Nm">creds_msdos</code> script appeared in
- <span class="Ux">NetBSD 9.0</span>.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
-<p class="Pp"><span class="An">Matthew R. Green</span>
- &lt;<a class="Mt" href="mailto:mrg@eterna23.net">mrg@eterna23.net</a>&gt;.</p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">June 10, 2019</td>
- <td class="foot-os">NetBSD 10.1</td>
- </tr>
-</table>