Open
Conversation
Adapt regex of "Exit before auth" for the case when dropbear is configured to not allow root logins (RootLogin 'off'). The log entry in this case looks like this: Exit before auth (user 'root', 0 fails): Exited normally
bearDropper.sh currently fails on line 104 when coreutils-date is installed, because the GNU date command does not support the -D option. The solution is to explicitly specify the busybox date command. I think the change is only actually needed on line 104, but I've changed all the date commands for consistency.
Adapt regex for case when root login is not allowed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bearDropper.shcurrently fails on line 104 whencoreutils-dateis installed, because the GNUdatecommand does not support the-Doption.The solution is to explicitly specify the
busybox datecommand instead of justdate. I think the change is only required on line 104, but I would suggest changing all the places wheredateis used, for consistency.