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

Updated test phase tutorial #48

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

m6n50u7
Copy link

@m6n50u7 m6n50u7 commented Sep 7, 2024

No description provided.


```bash
$> mkdir -p ~/.duress
$> echo '#!/bin/sh
echo "Hello World"' > ~/.duress/hello.sh
echo "Hello World" > /home/user/test.txt' > ~/.duress/hello.sh
Copy link

@DusanLesan DusanLesan Sep 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is purpose of this change? Instead of directly getting the "Hello World" echoed to the output, users would now need to read from the file.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DusanLesan, this was in response to issue #47 which I'm still finding time to replicate and am hoping to get it done today. My commentary would be if the desired intent of changing the demo would be to put it in a file (which is honestly how I did it initially) then /tmp/test.txt would be a better option to target.

If I can replicate the error then it's worth the change in the demo guide. Just need to see if some change in bookworm made the output to stdout inoperable.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tried it out now and am unable to replicate #47, so this is still unconfirmed as a needed change. Still going to hear out @m6n50u7 until the issue is resolved to their satisfaction or the tutorial is deemed satisfactory with obvious caveats that some installations may have configurations that necessitate departure from the tutorial to confirm functionality.

@m6n50u7
Copy link
Author

m6n50u7 commented Sep 7, 2024 via email

@m6n50u7
Copy link
Author

m6n50u7 commented Sep 7, 2024 via email

@DusanLesan
Copy link

DusanLesan commented Sep 7, 2024

you already had issue related to this here <#41>

Not even with test steps in this change I have the script executed and everything looks the same but with more steps.

But regardless of failed script execution on my system, what caught my eye was that:

  • You are introducing a sentence starting with a lowercase.
  • Assumption that home directory is under /home/. Instead you could maybe do echo "Hello World" > $HOME/test.txt or echo "Hello World" > ~/test.txt which would also remove the need for the "make sure to replace "user" by your username." instruction

@nuvious
Copy link
Owner

nuvious commented Sep 7, 2024

@m6n50u7, can you confirm you're using stock Debian 12/bookworm? I was unable to replicate the issue and am still getting stdout:

image

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.

3 participants