Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15459969
D17648.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D17648.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 1, 6:42 PM (2 d, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7729040
Default Alt Text
D17648.diff (1 KB)
Attached To
Mode
D17648: Suggest use of "usermod" rather than manually editing critical files in /etc
Attached
Detach File
Event Timeline
Log In to Comment