Skip to main content
Jonathan Y.'s user avatar
Jonathan Y.'s user avatar
Jonathan Y.'s user avatar
Jonathan Y.
  • Member for 11 years, 8 months
  • Last seen more than 7 years ago
awarded
awarded
awarded
awarded
comment
revised
Suggested edit to "What does the double-hyphen do in `lxc exec`"
Added explanations for my position, reflecting discourse below.
Loading…
awarded
comment
Suggested edit to "What does the double-hyphen do in `lxc exec`"
To get a privileged LXD container, one needs to actively change the profile or properties. It stands to reason that these users will know they have to also use sudo. Why should that be what we present to the typical user, relying on the tutorials (published by the LXD team on Ubuntu's site), which all use unprivileged containers?
comment
Suggested edit to "What does the double-hyphen do in `lxc exec`"
This isn't about whether your review decision was appropriate; of course it was. It's about changing your mind. If you still feel like $ are better, and so are the sudos, then that's just fine, although I'd like to talk about it.
comment
Suggested edit to "What does the double-hyphen do in `lxc exec`"
KazWolfe lxc, to the best of my knowledge, is far from "a utility [typically] run by a root user". It's the LXD command-line tool, and was designed to be fully functional as a regular user.
comment
Suggested edit to "What does the double-hyphen do in `lxc exec`"
KazWolfe, that's why the Peter and I actually had a root@myContainer:~# prompt in place. There's more than enough space for it. To quote what I said in chat: "it's mentioned in the surrounding text, but that's no reason to make it less graphically clear in the example; the change hurt the clarity of the answer, rather than improving it."
comment
Suggested edit to "What does the double-hyphen do in `lxc exec`"
KazWolfe I'm the OP; I happen to agree with @Zanna, which is why I suggested the edit. Regarding the first point, by the same logic you use in the second, one would never get a $ prompt inside the container unless one actively did some fancy maneuver particularly for that effect; it's illogical to edit the # prompt into a $.
awarded
revised
Suggested edit to "What does the double-hyphen do in `lxc exec`"
Corrected a mistake I had in perception (muru hasn't made a change I thought s/he did).
Loading…
comment
Suggested edit to "What does the double-hyphen do in `lxc exec`"
@muru, wow, sorry, you're right. When I looked at it yesterday, I was sure I saw it was an edit. I'll edit this question to reflect what really happened.
Loading…
awarded