add webi dat dat dat
[webi-installers/.git] / ssh-adduser / README.md
index c9eeb4d6a47331cb326f1db1e60f6eb61215e3be..06b282a19328827e5d4bd228459d4d46bd65b99d 100644 (file)
@@ -4,17 +4,21 @@ homepage: https://webinstall.dev/ssh-adduser
 tagline: |
   SSH adduser: Because friends don't let friends login or run stuff as root
 linux: true
-description: |
-  Many modern web programs (`npm` and `postgres`, for example) will not function correctly if run as root.
+---
 
-  `ssh-adduser` will
+## Cheat Sheet
 
-    1. add the user `app`
-    2. set a random, 32-character password (as a failsafe)
-    3. copy the `root` user's **`~/.ssh/authorized_keys`** (so the same users can still login)
-    4. give the `app` user `sudo` (admin) privileges
-    5. allow `app` to `sudo` without a password
----
+> Many modern web programs (`npm` and `postgres`, for example) will not function
+> correctly if run as root.
+
+`ssh-adduser` will
+
+1. add the user `app`
+2. set a random, 32-character password (as a failsafe)
+3. copy the `root` user's **`~/.ssh/authorized_keys`** (so the same users can
+   still login)
+4. give the `app` user `sudo` (admin) privileges
+5. allow `app` to `sudo` without a password
 
 How to create a new user named 'app':