add the old snippet md files
This commit is contained in:
parent
fc0dd204c7
commit
bcf8313a4b
110 changed files with 3048 additions and 0 deletions
14
old_snippets/disable-user.en.md
Normal file
14
old_snippets/disable-user.en.md
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
title: "disable user"
|
||||
date: 2020-08-11T16:23:05+02:00
|
||||
draft: false
|
||||
snippet_types:
|
||||
- sysadmin
|
||||
---
|
||||
|
||||
In this case disabling the user named ubuntu from logging in. This includes logging in via ssh.
|
||||
|
||||
```shell
|
||||
$ sudo usermod --expiredate 1 ubuntu
|
||||
```
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue