Is it possible to create users (non-sudoers) that can only use the command "mysql" ? or set of commands ?
Context: I have a server hosting a mysql database. I want to give some users the rights to connect to the server via SSH but only so they can use the mysql client.
I am using a the Amazon linux AMI
Ps : Using the command option in the authorized_keys file is not a correct solution.
.authorized_keys
not a correct solution? – Stephen Kitt Jun 29 '16 at 12:07.authorized_keys
, that would give you the result you're after, unless I've misunderstood your requirement! – Stephen Kitt Jun 29 '16 at 14:21Should I delete this question and post a new one or rewrite this one?
– Hugo Jun 29 '16 at 14:41