Linked Questions

25 votes
3 answers
20k views

I was checking unshare command and according to it's man page, unshare - run program with some namespaces unshared from parent I also see there is a type of namespace listed as, mount namespace ...
Ramesh's user avatar
  • 40.6k
20 votes
1 answer
16k views

What's the purpose of the /proc/pid/mountinfo file (with pid being numerical process id)? As far as I can see it reflects contents of the /proc/mounts file but with added information. Also the file ...
golem's user avatar
  • 2,448
23 votes
3 answers
15k views

I read or heard somewhere (maybe in LinuxCBT's SELinux course; but I'm not sure) that there are online Linux servers, for which the password of the root user is also given. The Linux server is ...
Sadeq Dousti's user avatar
3 votes
3 answers
34k views

I am completely new to *NIX based OSes. One of the things that baffles me is that a process or program may execute setuid(0) and then perform privileged operations and revert back to its normal uid. ...
ng.newbie's user avatar
  • 1,305
7 votes
4 answers
5k views

Is it possible to use LXC on a desktop system to confine browsers and other pieces of software that have in the past been shown to be prone to certain kinds of exploits. So what I want to achieve is ...
0xC0000022L's user avatar
6 votes
2 answers
5k views

Is it possible to hook a script execution on each process creation? Essentially the equivalent of inotifywait to monitor disk activity but applied to the process table. It would be to allow to do an ...
Wadih M.'s user avatar
  • 1,956
4 votes
1 answer
3k views

I am studying for a Computer Security exam, and I am struggling to understand the following sample question. 'Explain the difference between running in ring 0 on x86 and running as UID 0 in Linux. ...
tjensen's user avatar
  • 43
4 votes
3 answers
417 views

How do you start a process that cannot do any file IO (opening / closing files, creating / deleting files, reading / writing files, etc.), except to read and write to pre-created FIFOs? (chroot will ...
haneefmubarak's user avatar
6 votes
1 answer
943 views

I am trying to run a python script in a chroot (specifically, the chroot is created with arch-chroot). The python script relies on os.getpid(), but this seems to be returning an incorrect PID within ...
StrongBad's user avatar
  • 5,501
2 votes
1 answer
853 views

I updated an old linux boot disk with new utilities and shared libraries. It still had an empty /etc/mtab to start with, on the old disk the /etc/mtab was updated, on the new one /etc/mtab stayed ...
user3161924's user avatar
0 votes
1 answer
170 views

Linux does not treat the "root" user as the superuser anymore, but rather Linux uses capabilities which gives a process privileges (I think BSD does a similar thing). So for example in older Linux ...
user7681202's user avatar
  • 1,383