Commit 56b365fb authored by Tru  HUYNH's avatar Tru HUYNH

sudo access

parent 35ba6774
......@@ -3,3 +3,5 @@ echo 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC1k/QM9bIIGYzgRSuUD3dHFH7UtvNBggiqoL
chmod 0700 /home/centos/.ssh
chmod 0600 /home/centos/.ssh/authorized_keys
restorecon -rv /home/centos
echo 'centos ALL=(ALL) ALL' >> /etc/sudoers
restorecon -rv /etc/sudoers
Markdown is supported
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