Title: "Non-multiuser Dropbear requires a non-multiuser kernel" error on Android
Description: I encountered an issue when running Dropbear on an Android device. Even after enabling multi-user support in options.h (#define DROPBEAR_MULTIUSER 1), I still receive the following error during runtime:
Non-multiuser Dropbear requires a non-multiuser kernel
This occurs when I try to start the Dropbear server with the command:
Compile Dropbear on an Android device with #define DROPBEAR_MULTIUSER 1 in options.h.
Start the Dropbear server with the -F and -p options.
Attempt to connect using an SSH client.
Observe the error in the server logs.
Expected Behavior:
Dropbear should allow connections when compiled with multi-user support.
Actual Behavior:
Dropbear exits with the error message: "Non-multiuser Dropbear requires a non-multiuser kernel."
Environment:
Device: Android (non-root, using terminal emulator)
Dropbear Version: v2024.85
Kernel: 4.14.141+ Android 10
Compilation Environment: Termux
Additional Information:
I attempted to recompile Dropbear after enabling multi-user support in options.h but still face the issue. The device has SELinux enabled, and I suspect Android's kernel or SELinux policies might be affecting this problem. Is additional configuration or modification required to run Dropbear on an Android multi-user environment? Any guidance would be appreciated.
Logs:
[11141] Sep 21 05:30:05 Not backgrounding
[11253] Sep 21 05:30:09 Child connection from 127.0.0.1:52470
[11253] Sep 21 05:30:09 Early exit: Non-multiuser Dropbear requires a non-multiuser kernel
Title: "Non-multiuser Dropbear requires a non-multiuser kernel" error on Android
Description: I encountered an issue when running Dropbear on an Android device. Even after enabling multi-user support in options.h (#define DROPBEAR_MULTIUSER 1), I still receive the following error during runtime:
This occurs when I try to start the Dropbear server with the command:
Steps to Reproduce:
#define DROPBEAR_MULTIUSER 1
in options.h.-F
and-p
options.Expected Behavior: Dropbear should allow connections when compiled with multi-user support.
Actual Behavior: Dropbear exits with the error message: "Non-multiuser Dropbear requires a non-multiuser kernel."
Environment:
Additional Information: I attempted to recompile Dropbear after enabling multi-user support in options.h but still face the issue. The device has SELinux enabled, and I suspect Android's kernel or SELinux policies might be affecting this problem. Is additional configuration or modification required to run Dropbear on an Android multi-user environment? Any guidance would be appreciated.
Logs: