I just realized that exit code 10 comes from the command ssh runs, that is
simplesnapwrap. It's not helpful that simplesnapwrap uses code 10 for
everything... but the server-side syslog shows us the culprit:

Invoked with parameters "" and SSH_ORIGINAL_COMMAND: "sudo simplesnapwrap
listfs"
Reinvoking to parse parameters
Reinvoked with paramters "sudo simplesnapwrap listfs"
Invalid mode "simplesnapwrap" specified.

I forgot to mention that in the original email, but I just realized that I
already tried this approach and the problem is that simplesnapwrap expects
that $0 is simplesnapwrap, $1 is the command, whereas when running with
sudo, $0 is sudo etc.


Regards,
~~helix84

Reply via email to