Commit cb01b065 authored by Quang tru HUYNH's avatar Quang tru HUYNH
Browse files

no passwd sudo

parent 92d549e2
......@@ -5,5 +5,5 @@ chmod 0700 /home/centos/.ssh
chmod 0600 /home/centos/.ssh/authorized_keys
chown -R centos:centos /home/centos/.ssh
restorecon -rv /home/centos
echo 'centos ALL=(ALL) ALL' >> /etc/sudoers
echo 'centos ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
restorecon -rv /etc/sudoers
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment