Install SElinux
```shell # install sudo apt install policycoreutils selinux-utils selinux-basics # activeate sudo selinux-activate # change to enforci...
How to add a new user in kali linux
```shell ec2-user@kali:~$ su root@kali:/home/ec2-user# root@kali:/home/ec2-user# useradd -m wayne root@kali:/home/ec2-user# passwd wayne...
Mac: add ssh key to ssh-agent
```sh $ ssh-add -K ~/.ssh/id_rsa ``` https://help.github.com/en/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
Linux 防火牆: iptables
搜尋 linux 防火牆的話就會看到 `iptables` 和 `ufw`,常常會誤認為有兩個防火牆軟體,但其實不是,因為 `ufw` 只是 `iptables` 的 CLI 而已,參考: https://ubuntuforums.org/showthread.php?t=...
用 screen 在 server 執行程序
screen 可以讓程序在背景跑,不會因為斷線而結束 https://blog.gtwang.org/linux/screen-command-examples-to-manage-linux-terminals/