Hi,
> Nope. Via "sudo", the first user is allowed to execute certain commands on behalf of the second, not the other way around.
I didn't say "via sudo"
I said: the second user (`ghost` in this example) is authorised to act on behalf of `echo`.
How it's done is irrelevant. You mentioned PAM. Ok. Let it be PAM.
>He has no direct access to the vcsa3 device
Or she, but anyway they have indirect access via the sticky bit. So it shouldn't be a problem.
Please take a look at my ls -la outputs. Not only is tty3 owened by echo but it's owned also by the tty group. And as you saw ghost is a pretty powerful user. The user is a part of the tty group as well. But mc doesn't care. It also doesn't care whether this is root or not.
> implementing alternate screen support in the Linux tty driver, or using a graphical emulator. I can't see how mc could solve this issue.
That would be overkilling.
Why not just to follow standard *nix conventions? To respect root privileges at least. May I dare to ask to respect group permissions as well ;-)