2021-07-04 11:17:53 +00:00
|
|
|
---
|
|
|
|
author: Alvie Rahman
|
|
|
|
date: \today
|
2021-08-23 14:25:05 +00:00
|
|
|
title: Linux
|
2021-08-15 19:44:51 +00:00
|
|
|
tags: [ linux ]
|
2021-07-04 11:17:53 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# user stuff
|
|
|
|
|
|
|
|
## add user to group
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# usermod -a -G group user
|
|
|
|
```
|
|
|
|
|
|
|
|
## change primary user group
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# usermod -g group user
|
|
|
|
```
|