mirror of
https://github.com/2dust/v2rayN.git
synced 2026-04-18 05:25:46 +00:00
Add the default desktop user to the v2rayn group
This commit is contained in:
parent
80f00d3d51
commit
c26425bbd1
1 changed files with 2 additions and 0 deletions
|
|
@ -572,6 +572,8 @@ EOF
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
useradd --no-create-home --uid 785 --system v2rayn-core
|
useradd --no-create-home --uid 785 --system v2rayn-core
|
||||||
|
groupadd v2rayn # Users in this group are allowed to use TUN
|
||||||
|
id -u 1000 && gpasswd -a $(id -un 1000) v2rayn
|
||||||
exit 0
|
exit 0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue