Questions tagged [chroot]
a linux command to change the filesystem root a process can see, limiting it's access to the real filesystem root
348
questions
0
votes
1
answer
174
views
Are there commands to install Ubuntu from USB? [closed]
I currently have Q4os installed.
What command can I use to install Lubuntu from files on USB? I can't boot install from USB and mini install doesn't have wireless internet installed.
0
votes
1
answer
443
views
Issues installing Custom Ubuntu after apt updates
I have been attempting to build a standard environment which uses Ubuntu 14.04 along with some additional packages and have made up a quick script to update apt and install the packages I require. ...
0
votes
1
answer
73
views
Registration of chrooted environment on Landscape not working with Virtual license
Despite having several remaining registrations on Landscape, it doesn't let me register chrooted environments:
'There are no licenses available for $accountname. $hostname was not accepted.'
License ...
0
votes
1
answer
906
views
Use older version of GCC for application that requires it
The PGI C and C++ 17.10 community edition compiler does not work with Ubuntu 17.10 (at least not for code that uses OpenMP or OpenACC which is the whole point of PGI).
According to their forum
...
2
votes
1
answer
3k
views
How to run apache2 in chroot jail setup
Ubuntu 14.04
I was trying to setup apache in chroot,but i can't found any related answer.
I was googling over a week but i can't get my answers
so some one please help me.....
Thanks in ...
1
vote
2
answers
364
views
Trying to fix kernel regression through LiveUSB not working
I am running Ubuntu 16.04 LTS, but I haven't been able to run it any more since the latest update. I saw a related question where a user named @Fairglow called this problem a "kernel regression". ...
0
votes
2
answers
2k
views
Allow a user to change his password on a chrooted environment
I'm trying to setup a chrooted ssh and sftp server under Ubuntu server 16.04.3 LTS. I followed this tutorial:
https://rp29blog.wordpress.com/2016/06/26/setting-up-chroot-sftp-and-ssh
I got it working....
10
votes
1
answer
37k
views
Limit SFTP user access to specified directory
I have a Ubuntu 14.04 server installed with open ssh. I'd like to configure sftp for customers to be able to download files only. In other words, I put files in a directory that they are jailed to. ...
1
vote
0
answers
84
views
Overcoming the openssh / sftp jailroot unwritable
we have set up openssh / sftp with a jailroot via chroot; it's well established that a client can't write (upload files to) this root; you need to set up a writable subfolder. However, we have ...
2
votes
1
answer
189
views
Steam LAN "In-home steaming" not working on Chrome OS (via crouton)
I installed Ubuntu xenial on my Chromebook via crouton, and after navigating through "locales" problems not being able to run gnome-terminal, mounting problems on my sdcard, and video API problems, I ...
4
votes
1
answer
1k
views
Allow user in a chrooted shell to use a sudo command
I have a user chrooted to a directory, and everything is working smoothly. I want a group this user is in to be able to restart a single process that's being managed by supervisor, however, and I can'...
0
votes
1
answer
5k
views
Chroot is not working properly. I'm using vsftpd [duplicate]
I'm using VSFTPD in Ubuntu 14.04 and I'm using Filezilla to connect to the FTP server. When I connect using port 21 everything work as planned "users are chroot to their home directory".But when I ...
2
votes
1
answer
2k
views
CD Based Usage of debootstrap?
I have installed 12.04 xubuntu alternative with whole disk encryption on a machine. I am attempting to set up a schroot usage of backbox 3.01 (an ubuntu 12.04 derivative from what I can tell) under ...
0
votes
1
answer
2k
views
internal-sftp log for chrooted group
My /etc/ssh/ssh_config file have follow config
Subsystem sftp internal-sftp -f AUTH -l INFO
Match group tmrhackers
ChrootDirectory %h
ForceCommand internal-sftp
AllowTcpForwarding no
and the sftp ...
0
votes
1
answer
54
views
I messed up and removed important packages, is there a way to restore all packages that would come with the live distro ?
Im on Ubuntu server 16.04 and I tried to solve some issues by uninstalling and reinstalling. Then i see apt telling me lot of packages are not required and can be autocleaned. I tried to install them ...
1
vote
1
answer
353
views
How do I force Spotify's cache into RAM?
Spotify is writing enormous amounts of data onto my hard drive. As is expected from an app that downloads every song it plays and then deletes it after you close the app. All that reading and writing ...
0
votes
1
answer
189
views
Error reinstalling a chroot? [duplicate]
I've been running Ubuntu (Unity) on a chromebook for a couple of years. I had to reformat the device and now I'm trying to reinstall from a backup. I've downloaded crouton and copied my backup called ...
2
votes
1
answer
8k
views
Update grub in a chroot environment with root on a luks encrypted volume
I want to move a system (all systems I am using are Ubuntu 16.04 based) from an unencrypted partition to a luks encrypted one (on the same disk).
To this end, I created a LUKS encrypted logical ...
1
vote
1
answer
390
views
Returning to a chroot environment
When I chroot while logged in using a ssh session. How do I get back to the chroot environment when the ssh terminal session ends. When I ssh back in I'm back on the non chroot environment. While I'...
2
votes
1
answer
327
views
Question about chroot
Scenario
I have 2 working Ubuntu partitions on my hard drive, let's call them A and B. They use a single swap partition.
I have booted into A and logged into the desktop. Now I want to make partition ...
1
vote
0
answers
1k
views
Armhf chroot on arm64
First off should I not be able to run armhf on an arm64 server without needing qemu? or am I wrong there? If i run a armhf app I get this: Exec format error
I have been trying to setup and armhf ...
0
votes
0
answers
827
views
Cannot execute binary file: Exec format error when executing "sudo chroot /mnt"
After screwing it up a little resizing Ubuntu's partition on my pc (the process stopped suddenly and I had to recover boot from initramfs) I am trying to repair grub since now it is installed empty (...
0
votes
1
answer
411
views
Accessing zfs pool with chroot sftp - User can view files/folders but cannot create [closed]
Here's what I've been trying to do:
Create a zfs pool that can be accessed through sftp
Be able to read and write files in the zfs pool through sftp (remotely)
Create a user who can read/write files ...
0
votes
2
answers
2k
views
Installing Apache Cordova, unable to locate package
Got Cordova installed and able to make an app. I have to run sudo click chroot -a armhf -f ubuntu-sdk-14.10 create to install the Ubuntu SDK, so I can later build to Ubuntu. When I run the command, I ...
0
votes
1
answer
420
views
How to Run Windows 07 in Ubuntu using chroot?
Is there any way to make any Windows-OS run in Ubuntu using the chroot-jail or chroot ?
Edit the question as you feel is necessary, typed Windows 07 there as an example and as its a truly good OS.
5
votes
1
answer
16k
views
Removing a chroot environment
I was following these steps to install ros indigo on a chroot environment on my Ubuntu 15.10
http://wiki.ros.org/ROS/Tutorials/InstallingIndigoInChroot
But I screwed some things up and I want to ...
1
vote
0
answers
160
views
Connecting Ros on a chroot with AMD ATI display
So, I have ROS Indigo on a chroot on my Ubuntu 15.10.
I installed the nao-gazebo package to simulate a Nao robot using Gazebo. It was working fine. I used the command xhost +local: on the host and in ...
0
votes
0
answers
507
views
chroot into 32bit system from 64bit machine
when I try to chroot into my 32bit system from a 64bit machine, it is responding with /bin/bash is not found despite the fact that the file existed in the specified directory. is there any way to get ...
3
votes
1
answer
938
views
Help adapting Courier-authdaemon initscript
I could use help with adapting the standard courier-authdaemon initscript.
I run a small business server with postfix, courier, mariadb, amavisd-new with clamav and spamassassin and sasl. After the ...
7
votes
2
answers
307
views
How to build packages for Maverick while running Lucid?
I would like to be able to build a package for the Maverick distribution release of Ubuntu, while running the Lucid distribution release.
I found this page: https://wiki.ubuntu.com/DebootstrapChroot ...
3
votes
0
answers
2k
views
What are the differences between jails and chroot?
I'm currently trying to point out the finer details between chroot spaces and jails. And clear up some of the controversy in the phrase "chroot jail."
So far I have chroot defined simplistically as "...
1
vote
1
answer
4k
views
Cannot reinstall kernel from chroot
I accidentally deleted the contents of /boot .
I tried
apt-get purge linux-generic linux-image-generic
apt-get install linux-generic linux-image-generic
Building dependency tree
Reading ...
11
votes
2
answers
8k
views
Upgrading Ubuntu chroot environment?
What is the proper way to upgrade Ubuntu chroot environment to a newer Ubuntu release? The chroot environment has been originally set up using debootstrap.
The proper way to upgrade a Ubuntu server ...
1
vote
0
answers
667
views
custom ubuntu live CD: NetworkManager not working
I'm trying to build up an ubuntu live cd from scratch but I'm failing with the automatic configuration for the network interface card.
The live cd is booting into desktop but NetworkManager is stuck ...
7
votes
1
answer
30k
views
Use apt-get in chroot directory [duplicate]
I am currently in need of using apt-get on a chroot directory.
The setup is the following.
I have a chroot setup with schroot.
This chroot environment needs to be stripped down as much as possible.
...
-1
votes
1
answer
95
views
Chroot Ubuntu Upgrade 14.04 Invalid? [duplicate]
I got the Ubuntu Unity desktop on my Chromebook through Chroot. I realized there was a update ready, 14.04 Trusty Tahr. I start the process, and it gets to where the computer restarts. When I boot the ...
0
votes
1
answer
84
views
Tarballing system nodes
Say I'm tarballing a chroot. Would it be reasonable if it tried to tarball a system node, say, /dev/zero?
Or would this just be as stupid as it sounds, resulting in tar infinitely trying to find the ...
2
votes
2
answers
15k
views
vsftpd - restrict users to home directory
Setup vsftpd easily
If I run this config:
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=NO
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
...
1
vote
0
answers
609
views
How to move mysql.socket into postfix chroot
I want postfix to be able to talk to mysql, without letting it out of its chroot.
I guessed that moving the socket-file in to the chroot, should solve it, but that wasn't as easy.
If i try to update ...
1
vote
1
answer
2k
views
SFTP with multiple users
I want to limit the users to their file. I added the following lines to the sshd configuration file.
Match user user1 user2 user3
ChrootDirectory /home/%u/
ForceCommand ...
3
votes
1
answer
8k
views
Chroot with specific kernel
I need to build some old drivers with specific kernel version.
The Kernel 2.6.31-20-generic is needed. I have tried to built it on Ubuntu 12.04 and the new one, 14.04 with no success. The only one ...
0
votes
0
answers
157
views
chroot can't execute /etc/apparmor/inittramfs
We've old Ubuntu on our server, which is used for SVN commits. It is our SVN server. We don't want to lose the data which is for last 10 years committed there. We don't want to lose the svn commit ...
0
votes
1
answer
19k
views
mount point does not exist
In order to change forgotten root password, I performed these steps:
Boot from LiveUSB & run these commands:
sudo mount /dev/sda1 /mnt
for d in dev sys run proc; do sudo mount --bind /$d /mnt/$d;...
1
vote
1
answer
1k
views
Auto-Mount SD-card formatted as ext4 on ubuntu touch
I try to use an MicroSD card containing a chroot environment which I can break, e.g. by installing software, without damaging the OS on my bq Aquaris E4.5 Ubuntu Edition, however I can not let the ...
1
vote
0
answers
2k
views
Safe way to remove a Chroot environment
I created a chroot environment to test an old release without reinstalling the operating system. Now I am done with it. I would like to remove it since it has a very large footprint.
I am tempted to ...
0
votes
1
answer
825
views
How to install Virtualbox kernel module in 16.04 LTSP chroot?
Been trying to install Virtualbox for fat clients on a 16.04 server but can't get the kernel module to show up.
I tried this:
sudo ltsp-chroot -c -p
apt-get update && apt-get install ...
2
votes
2
answers
718
views
SFTP chroot configuration error
Can anyone see what I have done wrong in this procedure? I can connect to the server as the new user and am in the chrooted directory, but despite setting all the proper root permissions, I cannot add ...
0
votes
1
answer
802
views
How to use Xephyr in Ubuntu OS customisation?
I customise ubuntu OS often and prefer cli method and build from scratch. I am currently getting it done in a hack method with some GUI. I know Xephyr is a display server and I 've used it once in ...
0
votes
2
answers
619
views
Deleted my /usr/ directory, recovered with chroot now getting a Segmentation fault (core dumped) trying to run Sudo
I have a problem that I've been trying to fix for the last few days. Each time I resolve an issue, a new one pops up.
Let me outline what has happened.
I foolishly deleted all sub dirs in the /usr ...
3
votes
1
answer
6k
views
Using Chroot with a Java application
I'm working on designing a group of Java programs that I hope to turn into a Java-based OS someday. Until I get a kernel working, I want to just run them on top of Ubuntu. Because of this, I need all ...