This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

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 Sergei Golubchik in this comment.

This is solved within MDEV-21778 in 10.5.25 and up

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.