... | ... |
@@ -145,17 +145,13 @@ You can stop application by **--stop** option. |
145 | 145 |
|
146 | 146 |
### Operation by root user |
147 | 147 |
|
148 |
-If you want to do operation by root user, |
|
149 |
-you must do some configuration for security. |
|
148 |
+You can operation application by root user. |
|
150 | 149 |
|
151 |
-You add **user** and **group** to **hypnotoad** section |
|
152 |
-in **gitprep.conf** not to execute application by root user |
|
153 |
-for security. |
|
150 |
+ su - |
|
154 | 151 |
|
155 |
- [hypnotoad] |
|
156 |
- ... |
|
157 |
- user=gitprep |
|
158 |
- group=gitprep |
|
152 |
+you must setsid to user for security. |
|
153 |
+ |
|
154 |
+ su - gitprep -c "chmod u+s /home/gitprep/gitprep/gitprep" |
|
159 | 155 |
|
160 | 156 |
Start application |
161 | 157 |
|