useful information
- ufw app list : unutk mengetahui aplikasi yg berjalan pada server kalo nggak salah
However, that won’t address the problem listed in the error. To do that, you must make the user’s home directory read only. Assuming the username is testuser and the home directory is /home/testuser, then execute the following command:
For good measure, be sure to restart vsftpd:
- dpkg --get-selections | grep apache : untuk mengetahui aplikasi yang sudah diintsall, dalam hal ini apache2
- cara mengetahu terakhir login :
Use: #last | grep [username] or #last | head
netstat -tnpa | grep 'ESTABLISHED.*sshd'
>>>ini yg lebih jitu :
less /var/log/auth.log
- cara mengetahui perintah terakhir yg digunakan : ps -ef
- untuk check ukuran hardisk maupunmemory : df -h --total
- menambahkan gateway : route add default gw 10.100.103.1
- menulis tanpa masuk ke file : echo "nameserver 80.80.80.80" >> /etc/resolv.conf
arti dari ">" adalah mendambah dan replace , ">>" menambah baris selanjutnya
jika mendapati terro 500 pada instalasi vsftpd
usermod -s /sbin/nologin testuser
However, that won’t address the problem listed in the error. To do that, you must make the user’s home directory read only. Assuming the username is testuser and the home directory is /home/testuser, then execute the following command:
chmod a-w /home/testuser
For good measure, be sure to restart vsftpd:
systemctl restart vsftpd
Alternative Fix
Alternatively, you can bypass the writable check in the vsftpd config file by running the following two commands:echo 'allow_writeable_chroot=YES' >> /etc/vsftpd/vsftpd.conf
systemctl restart vsftpd
- jika pernah mengalami user bisa login namun tiba tiba langsung logout, maka yg harus di check pertama adalah /var/log/syslog pada logging nya, kemudian deteksi kesalahan yang muncul. jika mengalami kpesan eror yang mengindikasikan bahwa home directori dtidak dapat diakses/permission denied. Maka lakukan chmod 765 atau 776 kepada direktori home usernya.
- Personal Package Archives (PPA)
-
mount -t ecryptfs /home/falko /home/falko
- letak mox=zilla ~/.mozilla/firefox/xxxxxxxx.default
- Ansible menurut googling yang saya dapat, adalah suatu service yang digunakan untuk meremote
banyak komputer
Komentar
Posting Komentar