Security optimization

Prevents any user from creating any thelounge account they want (abuse prevention)
This commit is contained in:
rany 2020-12-19 22:02:29 +00:00
parent 23b8ffde56
commit 22a4a4a487
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ Cmnd_Alias MAKE=/usr/bin/make *
Cmnd_Alias MKDOCS=/usr/local/bin/mkdocs *
#
Cmnd_Alias THELOUNGE=/srv/thelounge/.yarn/bin/thelounge add *
Cmnd_Alias THELOUNGE=bash -c '/srv/thelounge/.yarn/bin/thelounge add $SUDO_USER'
#Cmnd_Alias TOOT=/usr/bin/toot post *
# User privilege specification