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?

Affects versions

Environment

None

Checklist

Activity

Show:

Kristian AmlieAugust 12, 2019 at 1:26 PM

Will be in final, not beta.

Kristian AmlieAugust 12, 2019 at 11:15 AM

Kristian AmlieAugust 12, 2019 at 6:26 AM
Edited

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.

Fixed

Details

Assignee

Reporter

Labels

Story Points

Priority

Days in progress

0

Fix versions

Sprint

Backlog

yes

Zendesk Support

Checklist

Created August 9, 2019 at 10:15 AM
Updated June 25, 2024 at 12:02 PM
Resolved August 12, 2019 at 1:27 PM