How to disable system command on mariadb shell

I have a layer of customised shell on linux through which i am giving access of mariadb shell to user

My issue is the user is able to use command system bash -i on mariadb shell to bypass my shell and get root access.

Is there a way to disable system command on mariadb shell?

Thanks!

Answer Answered by Ian Gilfillan in this comment.

I'm not aware of a way to do this. See the Stack Overflow question Execute shell command from within a MySQL client? and the patch in MySQL that was never implemented.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.