You are not logged in.

#1 2012-06-12 01:50:53

ignorant
Member
Registered: 2012-06-09
Posts: 50

[solved] Running Skype in a chroot jail or ...?

So I'm debating with myself about how to go about running skype. It's a program I just flat-out do not trust. The thing I'm mostly worried about is skype being able to see my home directory and my mounts (/mnt, /media). Is it worth using a full-blown chroot jail? or is there some simpler way to prevent skype from seeing just my home directory? I suppose I could run skype under a different user which didn't have permission to these things?

Any advice appreciated! Thanks.

P.S. Sorry if this isn't the right forum, feel free to move it.

Last edited by ignorant (2012-06-12 04:12:23)

Offline

#2 2012-06-12 02:03:14

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [solved] Running Skype in a chroot jail or ...?

I use sandfox for jailing firefox. I am not sure if it will work with skype, but you could give it a shot


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2012-06-12 03:04:32

ignorant
Member
Registered: 2012-06-09
Posts: 50

Re: [solved] Running Skype in a chroot jail or ...?

Sandfox looks cool. It looks like it even has a pre-made profile for skype.

A stupid idea, but I wonder if I could just start skype with something like, `sudo -u skypeuser skype`. I would obviously make sure skypeuser doesn't have permissions to access my home directory or any removable media. Would probably need to mount --bind my .Xauthority to skypeuser's home dir or something.

Last edited by ignorant (2012-06-12 03:05:43)

Offline

#4 2012-06-12 03:23:06

pdgessler
Member
From: Milwaukee, WI
Registered: 2011-04-06
Posts: 23

Re: [solved] Running Skype in a chroot jail or ...?

The idea you proposed in your post is described on the wiki here.  It's what I've been using, and it seems to work well.  Modify the chown commands towards the end of the section to protect any removable media mount points on your system.

Offline

#5 2012-06-12 03:34:12

ignorant
Member
Registered: 2012-06-09
Posts: 50

Re: [solved] Running Skype in a chroot jail or ...?

pdgessler wrote:

The idea you proposed in your post is described on the wiki here.  It's what I've been using, and it seems to work well.  Modify the chown commands towards the end of the section to protect any removable media mount points on your system.

Haha, man. I never thought I'd be the "didn't bother to read the wiki guy", but I swear, I'm still always amazed when I find *every* answer in the wiki.

Thanks guys, I'll try this out.

Offline

#6 2012-06-12 03:44:19

pdgessler
Member
From: Milwaukee, WI
Registered: 2011-04-06
Posts: 23

Re: [solved] Running Skype in a chroot jail or ...?

ignorant wrote:

Haha, man. I never thought I'd be the "didn't bother to read the wiki guy",

Your choice of username suggests otherwise... smile  No worries -- I know I miss things in the wiki every once in a while as well.  I usually end up reading something useful at some later time, wishing I'd noticed it the first time through.

If this ends up working out for you, please remember to prepend [Solved] to the thread title so others can find the solution.

Offline

#7 2012-06-12 04:12:11

ignorant
Member
Registered: 2012-06-09
Posts: 50

Re: [solved] Running Skype in a chroot jail or ...?

Worked like a charm, marking as solved! Thanks again.

Offline

Board footer

Powered by FluxBB