You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I understand it, Dropbear built with musl and --disable-pututline should support direct write to wtmp (and utmp too, but that's another bug).
It seems that Dropbear takes the path to wtmp from musl's include/paths.h, which is #define _PATH_WTMP "/dev/null/wtmp", an intentionally invalid path. I'm not sure what the expected behaviour should be, but using that surely isn't good.
Maybe look at busybox? (Busybox writes to /var/log/wtmp - I checked - , but I couldn't find where that path is defined.)
Thanks.
The text was updated successfully, but these errors were encountered:
As I understand it, Dropbear built with musl and
--disable-pututline
should support direct write to wtmp (and utmp too, but that's another bug).It seems that Dropbear takes the path to wtmp from musl's
include/paths.h
, which is#define _PATH_WTMP "/dev/null/wtmp"
, an intentionally invalid path. I'm not sure what the expected behaviour should be, but using that surely isn't good.Maybe look at busybox? (Busybox writes to /var/log/wtmp - I checked - , but I couldn't find where that path is defined.)
Thanks.
The text was updated successfully, but these errors were encountered: