Add the default desktop user to the v2rayn group

This commit is contained in:
Valeriy Manzhos 2026-04-06 14:08:32 +03:00
parent 80f00d3d51
commit c26425bbd1
No known key found for this signature in database
GPG key ID: 6547CFC8E2EC3D90

View file

@ -572,6 +572,8 @@ EOF
#!/bin/sh
set -e
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
EOF