Saturday, November 6, 2021

“sudo: /etc/sudoers is world writable” – How to correct the permissions of sudoers file in CentOS 7

 $ sudo syscheck

# ls -l /etc/sudoers
# chmod 440 /etc/sudoers
# ls -l /etc/sudoers

No comments:

Post a Comment

How to composer in cPanel using terminal Terminal

 At first, be sure that your cPanel has terminal access. Step-1 mkdir -p ~/bin cd ~ php -r "copy('https://getcomposer.org/installer...