Adding sudo users aka sudoers

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

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

http://www.liquidweb.com/kb/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:
updatedb
mlocate installs a cron job that will run daily to update search databases at:
/etc/cron.daily/mlocate.cron