I am a user with sudo access. To install MySQL, I have to create an operating system (OS) user called MySQL. Can I create a user which also has sudo access on this machine?
The documented way to create the mysql account is:
groupadd mysql useradd -r -g mysql mysql
-m option if you want that account to be used as a login account, which looks to be the case.
If you have full
sudo access, you can grant
sudo rights to that use with using
and adding a line similar the one starting with your username and replacing your username with