Udemy Course - Fundamentals Flashcards
What is Kali Linux built on?
Debian
Sudo is an abbreviation for what?
Super user do
In Kali, what does the $ sign signify?
This lets you know that the account is a non root account.
In Kali, what does the # sign signify?
This lets you know that the account is a root account.
If you don’t want to continually type ‘sudo’ before each command, what can you do to gain root access?
In the terminal, type ‘sudo su’ to switch permanently to a root account.
What command can be entered in the terminal to check the account permissions?
id
How do you exit the root account via the terminal?
Type the command ‘exit’
What command is used to verify the IP address in Kali?
Type the command ‘ip a’
Alternative is to type the command ‘sudo ifconfig’
If I’m logged in a standard user and want run the command ‘ifconfig’, how is this done?
Type the command ‘sudo ifconfig’
What command is used to change a user’s password in Kali?
Type the command ‘passwd’
How can you add a new user account in Kali?
Type the command ‘sudo adduser XXXX’
How can you grant the permissions to the new account to issue sudo commands?
Type the command ‘sudo adduser XXXX sudo’
What is the command to make a new directory?
mkdir folderName
What is the command to move files from one folder to another?
mv
Example:
sudo mv ssh_host_* old-keys
What is the command to reconfigure and produce new ssh keys?
sudo dpkg-reconfigure openssh-server