Questions tagged [user-mode-linux]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

User mode Linux can't run – It aborts immediatly after execution

When compiling UML – kernel 5.1.2 – with the following configuration CONFIG_64BIT=y CONFIG_X86_64=y CONFIG_BINFMT_ELF=y CONFIG_HOSTFS=y CONFIG_LBD=y CONFIG_BLK_DEV=y CONFIG_BLK_DEV_LOOP=y ...
-1
votes
1answer
104 views

vsftpd access to /srv/www/domain.com/somedir

On Ubuntu 16 I am trying to give FTP access to a particular server directory which has files owned by web:www-data to an FTP user. I have changed the users home directory: usermod --home /srv/www/...
1
vote
0answers
49 views

Problems Building Debian Wheezy Inside User Mode Linux

I am building a Debian virtual machine inside UML, but it is hanging. Here is my shell script for the construction: #!/bin/bash # Let's make sure we're updated printf "\nUpdating...\n" apt update ...
1
vote
1answer
698 views

Adding multiple user accounts on different primary/secondary groups

I am trying to create several user accounts with different groups in an imx6 board. Currently, no users are created in the device. Hence, I see 1000:1000 as my default user:group ID. The scenario I ...
0
votes
1answer
2k views

Locked out of Ubuntu after installing amdgpu-pro and adding user to video group

I have managed to lock myself out of linux (ubuntu). I installed amdgpu-pro, video drivers for graphics card (Radeon RX470) and then followed their guide to add myself to the video group with (as is) ...
2
votes
2answers
406 views

How do I run the usermode linux kernel?

I followed the steps here and compiled the kernel successfully in usermode: https://btrfs.wiki.kernel.org/index.php/Debugging_Btrfs_with_GDB But when I start ./linux in various ways it always gives ...
1
vote
1answer
21k views

How to install kali Linux on an external hard disk? [closed]

My machine is running MintOs, I want to install kali Linux on my external hard disk. What are the steps to be followed for doing such setup and how to boot kali OS from my external hard disk?
1
vote
0answers
117 views

user mode linux aborts right away

./linux rootfstype=hostfs mem=64M rw init=/bin/bash Core dump limits : soft - NONE hard - NONE Checking that ptrace can change system call numbers...OK Checking syscall ...
1
vote
0answers
34 views

How do I change the home folder for an user used by process sshd?

I'm logged as root. Need to change home folder of another user but when I run usermod -d /path/to/new/home myuser it returns: usermod: user myuser is being used by process xxxx Said process is sshd. ...
1
vote
1answer
1k views

Linux C/C++ - any way to create a “transparent” SSL/TLS socket?

Normally, in C or C++, to communicate through a SSL/TLS encrypted TCP socket you need to use whatever functions the SSL/TLS provider (OpenSSL, GnuTLS, etc) gives you in order to perform reads & ...
2
votes
1answer
443 views

User mode linux eth0 connected to host tap ethernet device not coming up

I am trying to setup the network between UML instance running on ubuntu as host. UML--eth0-(192.168.0.254) ----------------tap0--(192.168.0.253)--VM But, I am not able to bring the eth0 device in UP ...
1
vote
0answers
195 views

apt-get failed to fork in UML (user mode Linux)

I'm running a user mode Linux (Linux-3.19.8) for development testing. I'd like to be able to edit files inside the UML. I have some experience with Vim, so I'd prefer that. But unfortunately when I ...
1
vote
0answers
226 views

Virtual serial ports /dev/pts

I'm trying to create virtual ports using GSM cmux. It creates virtual ports in /dev/chn 1 2 & 3. Which is linked to /dev/pts 0 1 & 2. But when I list dev directory there is no pts folder and ...
0
votes
2answers
357 views

usermod question about option e

after reading the man pages I am unable to find an explanation of what this does (the tack e option) usermod -L -e 1 username -e 1 does this mean one day after the linux epoch, jan 1 1970? How ...
1
vote
0answers
81 views

How to set up networking in UML on Fedora 21 on VirtualBox?

I'm trying to set up an user mode linux machine on my virtual machine with fedora 21, as a part of a school project. I've got it running, but I've no idea how to get the networking to work. edit. ...
17
votes
4answers
2k views

Why would someone want to run UserMode Linux (UML)

The Linux README states that: Linux has also been ported to itself. You can now run the kernel as a userspace application - this is called UserMode Linux (UML). Why would someone want to do ...
5
votes
1answer
6k views

Not able to change default group for user with `sudo usermod -g` [duplicate]

I have looked at the questions and answer here at U&L but I still cannot get my default group to change from a user. [red@ws-red-l ~]$ whoami red [red@ws-red-l ~]$ groups yellow green [red@ws-red-...
6
votes
2answers
6k views

How can a user run a program in kernel mode?

Is it possible for a user to run their own program in kernel mode? How could a user accomplish this? What weakness in the system's protection mechanism would they have to bypass? I'm thinking that a ...
0
votes
1answer
150 views

Configure UML to generate core file

The User Mode Linux (UML) I run on Ubuntu crashes occasionally, but does not generate any core file. I'd like to know the necessary configuration to be applied on UML so it generates a core when it ...
5
votes
2answers
1k views

How to create rootfs for user mode Linux on Fedora 18?

I want to create a rootfs to be used with an UML kernel and be able to use the internet. I was using febootstrap with packages: bash, coreutils, net-tools, iputils. After using febootstrap-supermin-...
4
votes
1answer
743 views

User Mode Linux compile fails

I am trying to compile User Mode Linux on a 64 bit machine with defconfig and getting the following error. arch/x86/um/user-offsets.c:1: sorry, unimplemented: code model "large" not supported yet ...