multiuser disabled - fail more gracefully

2021-03-09 Thread Geoff Winkless
Hi I appreciate that there's an compile-time option DROPBEAR_SVR_MULTIUSER=0 to skip the setuid/gid sections, but can I make a humble suggestion that we fail gracefully if someone* runs a dropbear that _doesn't_ have that option configured on a linux kernel that's compiled single-user. *Not me,

Re: multiuser disabled - fail more gracefully

2021-03-09 Thread Kazuo Kuroi
Hello Geoff, That's a good suggestion. but I suggest that if your code can't run on UNIX platforms that it would need an include guard against it. Matt has taken a lot of time to ensure this not only runs on proprietary old C compilers, but also on older OSes where OpenSSH is not a good