@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Suggest use of "usermod" rather than manually editing critical files in /etc

Summary: Fixes T12529.

Test Plan: O_O

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12529

Differential Revision: https://secure.phabricator.com/D17648

+20 -3
+20 -3
src/docs/user/userguide/diffusion_hosting.diviner
··· 175 175 account. 176 176 177 177 The second field (which is the password field) must not be set to `!!`. This 178 - value will prevent login. If it is set to `!!`, edit it and set it to `NP` ("no 179 - password") instead. 178 + value will prevent login. 179 + 180 + If you have `usermod` on your system, you can adjust this value with: 181 + 182 + ``` 183 + $ sudo usermod -p NP vcs-user 184 + ``` 185 + 186 + If you do not have `usermod`, carefully edit the file and set the field value 187 + to `NP` ("no password") instead of `!!`. 180 188 181 189 **`/etc/passwd`**: Open `/etc/passwd` and find the line for the `vcs-user` 182 190 account. 183 191 184 192 The last field (which is the login shell) must be set to a real shell. If it is 185 193 set to something like `/bin/false`, then `sshd` will not be able to execute 186 - commands. Instead, you should set it to a real shell, like `/bin/sh`. 194 + commands. 195 + 196 + If you have `usermod` on your system, you can adjust this value with: 197 + 198 + ``` 199 + $ sudo usermod -s /bin/sh vcs-user 200 + ``` 201 + 202 + If you do not have `usermod`, carefully edit the file and change the field 203 + to point at a real shell, usually `/bin/sh`. 187 204 188 205 189 206 Configuring HTTP