Skip to content

Commit dee2ee1

Browse files
committed
Use _thinproxy as default user in examples
Dedicated service user instead of nobody, following OpenBSD naming convention for daemon accounts.
1 parent 042c43f commit dee2ee1

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ thinproxy -f /path/to/thinproxy.conf
8181
thinproxy -v -b 0.0.0.0 -p 3128
8282

8383
# Run as a daemon with privilege dropping
84-
thinproxy -d -u nobody -p 8080
84+
thinproxy -d -u _thinproxy -p 8080
8585

8686
# Use with curl
8787
curl -x http://127.0.0.1:8080 http://example.com
@@ -142,7 +142,7 @@ allow ::1
142142
```
143143
listen 0.0.0.0
144144
port 3128
145-
user nobody
145+
user _thinproxy
146146
daemon yes
147147
deny_private yes
148148
connect_port 443

thinproxy.8

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@ Listen on all interfaces, port 3128, with verbose logging:
208208
.Dl $ thinproxy -v -b 0.0.0.0 -p 3128
209209
.Pp
210210
Run as a daemon, dropping privileges to the
211-
.Cm nobody
211+
.Cm _thinproxy
212212
user:
213213
.Pp
214-
.Dl # thinproxy -d -u nobody -p 8080
214+
.Dl # thinproxy -d -u _thinproxy -p 8080
215215
.Pp
216216
Use with curl:
217217
.Pp
@@ -222,7 +222,7 @@ Example configuration file allowing only a local network:
222222
.Bd -literal -offset indent
223223
listen 0.0.0.0
224224
port 3128
225-
user nobody
225+
user _thinproxy
226226
daemon yes
227227
allow 192.168.1.0/24
228228
allow 127.0.0.1

thinproxy.conf.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ listen 127.0.0.1
99
port 8080
1010

1111
# Drop privileges to this user after binding
12-
#user nobody
12+
#user _thinproxy
1313

1414
# Run as daemon and log to syslog (default: no)
1515
#daemon yes

0 commit comments

Comments
 (0)