Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/distrib/utils/embedded



Module Name:    src
Committed By:   mrg
Date:           Tue Jun 11 10:50:58 UTC 2019

Modified Files:
        src/distrib/utils/embedded/conf: evbarm.conf
Added Files:
        src/distrib/utils/embedded/files: creds_msdos creds_msdos.8

Log Message:
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@.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/distrib/utils/embedded/conf/evbarm.conf
cvs rdiff -u -r0 -r1.1 src/distrib/utils/embedded/files/creds_msdos \
    src/distrib/utils/embedded/files/creds_msdos.8

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




Home | Main Index | Thread Index | Old Index