LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2021, 11:31 AM   #1
rempas
Member
 
Registered: Apr 2021
Distribution: Arch (btw)
Posts: 80

Rep: Reputation: Disabled
How to safely run Wine?


As it is stated in Arch Wiki, wine is safe free to use. Now it says some things like running Wine under separate accounts which I understand but there are some others that I don't. Can someone share some tricks so we can reduce or completely illuminate the risk?
 
Old 09-12-2021, 11:34 AM   #2
maw_walker
Member
 
Registered: Jul 2021
Posts: 119

Rep: Reputation: Disabled
What is the risk you are concerned about?
 
Old 09-12-2021, 12:38 PM   #3
rempas
Member
 
Registered: Apr 2021
Distribution: Arch (btw)
Posts: 80

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by maw_walker View Post
What is the risk you are concerned about?
Well... Virus mostly. If there is anything else that I should be concerned at all. Now I suppose I don't have to create another account, I can just not run Wine using "sudo" or "doas" and I'll be fine. But the Arch Wiki talks about other stuff that I don't understand so I wonder if there are other things the I should be aware of.
 
Old 09-12-2021, 01:00 PM   #4
maw_walker
Member
 
Registered: Jul 2021
Posts: 119

Rep: Reputation: Disabled
Understood but Windows viruses cannot affect Linux. It certainly couldn’t hurt to run wine as another user though. Maybe create another account and use that for wine only so you have separation from your normal user?
 
1 members found this post helpful.
Old 09-12-2021, 01:20 PM   #5
rempas
Member
 
Registered: Apr 2021
Distribution: Arch (btw)
Posts: 80

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by maw_walker View Post
Understood but Windows viruses cannot affect Linux. It certainly couldn’t hurt to run wine as another user though. Maybe create another account and use that for wine only so you have separation from your normal user?
Ok! That's one thing! I will do that for sure! In the meanwhile, I will wait for any other suggestions. Thanks a lot!
 
Old 09-12-2021, 02:31 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,985

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Any time you install software there is a risk.

Many programs that are common have what might be called "users" that do the work. Those users need permissions. If you are worried then don't use it.
 
Old 09-12-2021, 02:54 PM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
Wine is just a non-privileged userland program that implements a useful subset of the WinXX API so that many Windows programs are able to run. There are no particular "risks" associated with using it.

It's always a good idea, though, to do all of your daily work from one or more "ordinary" users who are not "administrators" – they are not members of the wheel group and therefore cannot say: "sudo su". Each user has a particular purpose – accounting, maybe servicing a particular client – and each one's home directory isn't accessible to anyone else. None of them can "manage the system." None of them can walk into a telephone booth and fly out wearing funny blue tights. So, if any rogue software tried to do anything nasty, it would find itself incapable of doing so.

In my experience, computers are really bad at knowing when to say "yes," but they're really good at saying "no."

Last edited by sundialsvcs; 09-12-2021 at 02:56 PM.
 
2 members found this post helpful.
Old 09-12-2021, 02:54 PM   #8
remmilou
Member
 
Registered: Mar 2010
Location: Amsterdam
Distribution: MX Linux (21)/ XFCE
Posts: 211

Rep: Reputation: 69
OK, I'm not 100% sure about this, but how about installing "playonlinux"?
This can create a "bottle" for every wine program, which separates their environment. All for one user.
Has anyone tested if this is safe (in the sense rempas asked)? Or has a good source?
I use playonlinux myself for other reasons (easy removing wine programs one of them) and like it.
 
Old 09-12-2021, 10:23 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,985

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Playon versus wine, dunno. I kind of trust wine more but I get your point of bottle.

The OP hasn't really expressed what part of this is suspect. Is it the windows program or wine.

Last edited by jefro; 09-12-2021 at 10:24 PM.
 
Old 09-13-2021, 12:42 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
you can try this dockerized wine too: https://hub.docker.com/r/scottyhardy/docker-wine/ if you wish.
 
Old 09-14-2021, 01:14 AM   #11
remmilou
Member
 
Registered: Mar 2010
Location: Amsterdam
Distribution: MX Linux (21)/ XFCE
Posts: 211

Rep: Reputation: 69
Quote:
Originally Posted by jefro View Post
Playon versus wine, dunno. I kind of trust wine more but I get your point of bottle.
It's not so much playonlinux versus wine. playonlinux runs on top of wine (and not without) and gives some extra features...

Quote:
The OP hasn't really expressed what part of this is suspect. Is it the windows program or wine.
True...
 
Old 09-15-2021, 08:38 AM   #12
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
Don't give wine more access to your file system than it needs. Keep the win drives in their own containers. For instance, don't map X: to your home directory.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to safely partition a newly built Windows 7 to run mint 16 alongside it ethanol Linux - Newbie 13 03-15-2014 02:08 PM
How to run a live cd safely ??? mihalisla Linux - Security 5 11-28-2009 09:16 PM
How to safely run/test gnome app (Ubuntu-Gutsy) spaceboy909 Programming 2 03-22-2008 02:49 PM
can you apply 2.6.x kernel config to 2.4.x safely/somewhat safely? silex_88 Linux - Software 3 12-09-2005 11:38 PM
Can YUM Run Safely On FC2 Server? dmedici Linux - Software 1 08-17-2004 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration