Beaglebone requires sudo password which is messed up by our multiple commands
Description
If you go through the onboarding, our instructions look like this:
The problem on the Beaglebone is that sudo requires a password, and if it hasn't already been typed in before, it will mess up the command sequence because it will think the next command is the password. It doesn't seem to be possible to get past it without executing something like sudo true first.
Most experienced Linux users should be able to figure it out, but some less experienced people who are just demoing might not. I'm not sure what the best approach is. Add some sudo command first to make sure the password has been typed in? Add a tooltip?
Yes, I like the long command idea! You don't even need any special command separators. It's enough to precede the whole recipe with a (, and end it with a ).
Uhm wait, no, that doesn't work inside a sudo command. Anyway, we can make it work with the right quoting and line separation I think.
eystein.maloy.stenbergAugust 9, 2019 at 4:14 PM
I agree we should do something because it can be quite annoying, even for an experienced person.
I am not the best person to ask about CLI, but how about doing a `sudo -s` as the first command and say the following are assumed to be run as root in the same window? Otherwise, make it one long command with && or ; and \
Kristian AmlieAugust 9, 2019 at 1:34 PM
Yes, but we encourage copying all the lines together. Indeed I would expect any half decent IT person to get past this, which is why I don't consider this a blocker, just a minor break in the flow, which might prevent a small group of people (managers?) from progressing.
If you go through the onboarding, our instructions look like this:
The problem on the Beaglebone is that sudo requires a password, and if it hasn't already been typed in before, it will mess up the command sequence because it will think the next command is the password. It doesn't seem to be possible to get past it without executing something like
sudo true
first.Most experienced Linux users should be able to figure it out, but some less experienced people who are just demoing might not. I'm not sure what the best approach is. Add some sudo command first to make sure the password has been typed in? Add a tooltip?