LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-19-2020, 03:34 PM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
locking don't a binary program someone else wrote and compiled


i need to run a program someone else wrote and compiled. i'm going to run it in its own userid. i'm still worried what it might do there. my greatest worry is about it doing something stealthy like send some info about me to its home server which it will be talking to. so my first concern is limiting what it can read. as the only user i have not locked down user reading that much. but, i guess i need to do that, now. i'm not worried so much about it trying to crash my system, because i'd know something happened. any suggestions that could shorten my work? i'm on Xubuntu 18.04 LTS with plans to upgrade to 20.04 next month.

edit:

the subject should be s/don't/down/

Last edited by Skaperen; 05-19-2020 at 03:36 PM.
 
Old 05-19-2020, 03:37 PM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
LXC? Or, if LXC seems too much for this, just a chroot jail? Firejail is packaged for Ubuntu.

Last edited by shruggy; 05-19-2020 at 04:11 PM.
 
Old 05-21-2020, 01:24 PM   #3
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
i think i can build a chroot jail for it. it needs lots of libraries but i have built a full replica with a /home subset before. i'll just try it, again.
 
Old 05-21-2020, 02:29 PM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,151

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
just run it on a virtual machine.
 
  


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
Compiled program not showing up as compiled and not able to run. hjoshuaj Linux - Newbie 3 03-27-2014 05:49 AM
Wrote java program and can't connect to sql database mokoena Programming 1 07-12-2008 10:01 AM
Wrote spec file, installed RPM, binary gives relocation error and refers to build dir hollywoodb Red Hat 2 05-19-2007 10:27 AM
I met an error when I wrote a gtk program icoming Programming 1 03-16-2005 03:19 PM
Wrote a program: TEXTDRAW lea Programming 1 08-13-2002 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:14 PM.

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