Adding sudo users aka sudoers

echo "<USERNAME HERE> ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

How to Install mlocate (locate and updatedb Commands) on CentOS 7

As root:

yum -y update
Then let’s install mlocate and any required packages:
yum -y install mlocate
The following command will update the search databases:
mlocate installs a cron job that will run daily to update search databases at: