You are not logged in.
Hi!
So I was just following the Wine ArchWiki when I came across this section: https://wiki.archlinux.org/index.php/Wi … er_account
"It may be desirable to run Wine under a specifically created user account in order to reduce concerns about Windows applications having access to your home directory."
I followed the instructions and everything seems to work. However, I have a question.
When executing "sudo -u wineuser env HOME=/home/wineuser USER=wineuser USERNAME=wineuser LOGNAME=wineuser wine arguments" does that make the software to be run as root?
I dont have any .exe's installed through this command, however I choose to run Lutris this way. "sudo -u wineuser env HOME=/home/wineuser USER=wineuser USERNAME=wineuser LOGNAME=wineuser lutris".
Does that make lutris to always be run as root?
Is it even necessary to use this solution when running Lutris instead of installing the desired .exe directly?
Thank you in advance!
Offline
The point of the -u in the sudo command is to make the follow up command run as the specified user instead of root, so no the entire point of this exercise is to not have wine run as either your normal user nor as root. You can easily verify this yourself by checking the running application's user in ps or top so.
This is also necessary with lutris as the entire "safety" of not sharing access to your home directory applies there just the same.
In general you should take a look at man pages or google up the commands you are using if you don't understand what certain arguments are used for, before executing them in your terminal.
Last edited by V1del (2020-06-08 06:57:56)
Offline