Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly specify busybox date command #13

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

tievolu
Copy link

@tievolu tievolu commented Sep 20, 2021

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 instead of just date. I think the change is only required on line 104, but I would suggest changing all the places where date is used, for consistency.

Bruno Randolf and others added 5 commits September 14, 2017 15:22
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant