vault backup: 2024-02-12 10:45:59
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
### Creating new user/settings
|
||||
*add new user*
|
||||
```bash
|
||||
adduser username #adds new user
|
||||
```
|
||||
*change user group to* `sudo`
|
||||
```bash
|
||||
usermod -aG sudo user_name #changes user group to a different one, in this case `sudo`
|
||||
```
|
||||
*check how many users are using the same machine*
|
||||
```bash
|
||||
cat /etc/passwd
|
||||
```
|
||||
|
||||
**Change default from bash to zsh**
|
||||
```bash
|
||||
chsh -s $(which zsh) # changes the default shell from bash from zsh
|
||||
```
|
||||
|
||||
### SSH Keys Creation
|
||||
|
||||
|
||||
### Creating new user/settings
|
||||
*add new user*
|
||||
```bash
|
||||
adduser username #adds new user
|
||||
```
|
||||
*change user group to* `sudo`
|
||||
```bash
|
||||
usermod -aG sudo user_name #changes user group to a different one, in this case `sudo`
|
||||
```
|
||||
*check how many users are using the same machine*
|
||||
```bash
|
||||
cat /etc/passwd
|
||||
```
|
||||
|
||||
**Change default from bash to zsh**
|
||||
```bash
|
||||
chsh -s $(which zsh) # changes the default shell from bash from zsh
|
||||
```
|
||||
|
||||
### SSH Keys Creation
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user