add the old snippet md files

This commit is contained in:
Travis Shears 2025-06-05 16:20:57 +02:00
parent fc0dd204c7
commit bcf8313a4b
110 changed files with 3048 additions and 0 deletions

View 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
```