Mercurial > dropbear
view options.h @ 1921:284c3837891c
Allow user space file locations (rootless support)
Why:
Running dropbear as a user (rootless) is aided if
files and programs can be saved/removed without
needing sudo.
What:
Use the same convention as DROPBEAR_DEFAULT_CLI_AUTHKEY;
if not starting with '/', then is relative to hedge's /home/hedge:
*_PRIV_FILENAME
DROPBEAR_PIDFILE
SFTPSERVER_PATH
default_options.h commentary added.
Changes kept to a minimum, so log entry in svr_kex.c#163
is refactored.
From:
Generated hostkey is <path> ... <finger-print>
to:
Generated hostkey path is <path>
Generated hostkey fingerprint is <fp>
Otherwise the unexpanded path was reported.
Patch modified by Matt Johnston
Signed-off-by: Begley Brothers Inc <[email protected]>
author | Begley Brothers Inc <begleybrothers@gmail.com> |
---|---|
date | Thu, 09 Jul 2020 17:47:58 +1000 |
parents | 2fd52c383163 |
children |
line wrap: on
line source
#ifndef DROPBEAR_OPTIONS_H #define DROPBEAR_OPTIONS_H /* > > > Don't edit this file any more! < < < Local compile-time configuration should be defined in localoptions.h in the build directory. See default_options.h.in for a description of the available options. */ /* Some configuration options or checks depend on system config */ #include "config.h" #ifdef LOCALOPTIONS_H_EXISTS #include "localoptions.h" #endif /* default_options.h is processed to add #ifndef guards */ #include "default_options_guard.h" /* Some other defines that mostly should be left alone are defined * in sysoptions.h */ #include "sysoptions.h" #endif /* DROPBEAR_OPTIONS_H */