Page MenuHomePhabricator

D17648.id42443.diff
No OneTemporary

D17648.id42443.diff

diff --git a/src/docs/user/userguide/diffusion_hosting.diviner b/src/docs/user/userguide/diffusion_hosting.diviner
--- a/src/docs/user/userguide/diffusion_hosting.diviner
+++ b/src/docs/user/userguide/diffusion_hosting.diviner
@@ -175,15 +175,32 @@
account.
The second field (which is the password field) must not be set to `!!`. This
-value will prevent login. If it is set to `!!`, edit it and set it to `NP` ("no
-password") instead.
+value will prevent login.
+
+If you have `usermod` on your system, you can adjust this value with:
+
+```
+$ sudo usermod -p NP vcs-user
+```
+
+If you do not have `usermod`, carefully edit the file and set the field value
+to `NP` ("no password") instead of `!!`.
**`/etc/passwd`**: Open `/etc/passwd` and find the line for the `vcs-user`
account.
The last field (which is the login shell) must be set to a real shell. If it is
set to something like `/bin/false`, then `sshd` will not be able to execute
-commands. Instead, you should set it to a real shell, like `/bin/sh`.
+commands.
+
+If you have `usermod` on your system, you can adjust this value with:
+
+```
+$ sudo usermod -s /bin/sh vcs-user
+```
+
+If you do not have `usermod`, carefully edit the file and change the field
+to point at a real shell, usually `/bin/sh`.
Configuring HTTP

File Metadata

Mime Type
text/plain
Expires
Tue, May 21, 10:41 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6292947
Default Alt Text
D17648.id42443.diff (1 KB)

Event Timeline