Linux
Introduction
User
Creating a user
sudo useradd [-m] <USERNAME>Add a user to a group
sudo usermod -aG <GROUP> <USERNAME>Create an alternative root user
useradd -m -ou 0 -g 0 -p <ENCRYPTED_PASSWORD> -s /bin/bash <USERNAME>Login through SSH
kali@kali:~$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/kali/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/kali/.ssh/id_rsa
Your public key has been saved in /home/kali/.ssh/id_rsa.pub
[...]Shell Escapes
SSH
Python Jail
Last updated