Home | History | Annotate | Download | only in files
History log of /src/distrib/utils/embedded/files/creds_msdos
RevisionDateAuthorComments
 1.6  29-Jan-2024  mrg properly quote arguments.
 1.5  11-Dec-2021  mrg branches: 1.5.2;
remove clause 3 from all my licenses that aren't conflicting with
another copyright claim line. again. (i did this in 2008 and then
did not update all of my personal templates.)
 1.4  05-Oct-2019  mlelstv branches: 1.4.4;
Fix typo
 1.3  12-Jun-2019  mrg various cleanups inspired by reviews:
- clean up variable usage
- be explicit that $ssh_userkeys is global
- don't assig id output to a variable not used
 1.2  12-Jun-2019  mrg explicitly strip carriage return so that non-unix text files work.
 1.1  11-Jun-2019  mrg add a method to add user accounts or ssh keys to the embedded
(installable) images which may be run entirely headless and
have no current method to edit the installation without another
netbsd host to modify the root (FFS) partition.

creds_msdos reads the creds.txt file from the msdos boot
partition and provides 4 basic methods:

sshkeyfile <user> <path on msdos>
sshkey <user> <entry>
useraddhash <user> <passwd hash>
useradd <user> <passwd>

the first two create a user with ssh key(s), and the second
two create a user with a password. if the last method is used
and raw passwords are given, the creds.txt file will be
shredded and deleted by rm -P.


inspired by a request from a pine64 user. ok jmcneill@.
 1.4.4.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.4.4.1  05-Oct-2019  martin file creds_msdos was added on branch phil-wifi on 2020-04-13 07:45:36 +0000
 1.5.2.1  04-Feb-2024  martin Pull up following revision(s) (requested by mrg in ticket #580):

distrib/utils/embedded/files/creds_msdos: revision 1.6

properly quote arguments.

RSS XML Feed