Cara Buat Sudo User di Ubuntu
- Last modified atPerintah sudo
di Linux memungkinkan suatu user untuk menjalankan perintah Linux yang hanya boleh dijalankan oleh user root.
1. Login ke Server
2. Gunakan perintah adduser
untuk membuat user baru
3. Tulis password
4. Tulis informasi user, bisa dikosongkan semua dan langsung tekan enter.
5. Gunakan perintah usermod
untuk memasukkan user tersebut kedalam grup sudo.
6. Testing akun sudo tersebut
7. Jika Ok, maka akan muncul prompt dibawah ini dan tidak ada error permission denied.
Recent Posts
How to Defend Against Brute-Force and DoS Attacks with Fail2ban, Nginx limit_req, and iptables
In this tutorial, I’ll explain how to protect your public-facing Linux server and Nginx web server from common threats, including brute-force and DoS attacks.
Is Getting AWS Solutions Architect Associate Certification Worth It?
If you are a full-time Software Engineer, there's no strong need to pursue this certification.
DevSecOps
My Notes about DevSecOps
AWS Secrets Manager
Explanation about AWS Secrets Manager with example code.
Envelope Encryption
Envelope encryption is the practice of encrypting plaintext data with a data key, and then encrypting the data key under another key.