OpenSUSE Install :: How To Set Up A Chroot Environment

Aug 25, 2011

I`m running openSUSE Tumbleweed so the first question is: can i run ONLY another openSUSE OS inside the environment ? or can i run any distro i want ?

My second question is how do it set up the environment to act just like my normal OS, with both root and user rights on it? and of course can i run X ?

And finally third question: after googling a bit i did not found a tutorial for openSUSE but i have seen that is says that i have mount and/or bind certain things, how do i make the same thing under openSUSE for the respective chroot environment?

View 9 Replies


ADVERTISEMENT

Debian Configuration :: Man-db In Chroot Ssh Environment

Aug 26, 2015

I've been bashing around this for a couple of days, and could not find answer by using google. My debian 8.1.0 jessie runs perfectly fine. To perform SSH chroot jail, I issued an apt-get install makejail.

The ssh chroot environment runs great. I used makejail configuration scripts. The man pages are perfectly available from TTY login. Yet from a SSH session (chroot jailed) the man pages could not be found.

My MANPATH environment variable points at /usr/share/man

Running "mandb -c" from a SSH session as root tells:

0 man subdirectories contained newer manual pages.
0 manual pages were added.
0 stray cats were added.
0 old database entries were purged.

simply copying the contents of the /usr/share/man to /jail/usr/share/man
and running the "mandb -c" command gives lots of "dangling symlink" errors.

Perhaps the /jail directory need some dependent files, or change file permissions somewhere but I just couldn' t figure that out.

View 0 Replies View Related

Ubuntu :: How To Reboot A Chroot Environment

Nov 30, 2010

i created a chroot environment for maverick. while installing packages and ubuntu-desktop it says that i need to restart. when i pass the command " sudo shutdown -r 0" my whole system gets restarted. how can i restart that particular environment.

View 3 Replies View Related

Ubuntu :: No Names In Chroot Environment

Dec 4, 2010

I created a chroot environment for lucid. when i log in by executing this command "sudo chroot /var/chroot/lucid" it logged me in as a root user. i created a new account there, when i log in by that account i cant see anything written before $ sign. even if i change directory or anything else i cant see anything.

View 1 Replies View Related

General :: Ping Not Working In Chroot Environment

May 16, 2011

How can I use the ping command in a chroot environment?
$ ping 8.8.8.8
ping: icmp open socket: Operation not permitted
Currently I am using CentOs, but ideally there must be a solution that works in all chrooted environments.

View 2 Replies View Related

General :: Crete A 64bit Chroot Environment?

Jan 25, 2011

How to crete a 64bit chroot environment? Im not able to run Virtualbox.

View 2 Replies View Related

General :: Creating A Chroot Environment - Specifically With A Different Kernel ?

May 9, 2011

I have successfully installed a Ubuntu chroot (Maverick) on a running Linux appliance (an old Thecus N5200PRO box) which has been running various services for me quite happily.

When I attempted to add a webcam (for snapshotting) to this mix, I've come up against a problem. Since the chroot by default uses the kernel of the Thecus appliance, there appears to (understandably) be no support for the Logitech UVC webcam in the appliances' kernel; consequently inside or outside the chroot I can't access the UVC webcam.

I think I can get around this in a simple way if I can run a standard Ubuntu Maverick 32-bit kernel in the chroot.

Does anyone know how to chroot with alternative kernels, or quite simply, how to get a UVC webcam accessible on a Thecus N5200PRO?

Other details:

lsmod output
Output of uname -a:

Linux cube 2.6.23N5200 #1 PREEMPT Wed Jul 29 14:13:22 CST 2009 i686 GNU/Linux

lsusb -t output

View 2 Replies View Related

Programming :: Shell Script - Entering The Chroot Environment ?

Jul 19, 2010

My script is like this

Code:

How can i make the script do all those command using the script?

View 1 Replies View Related

CentOS 5 Networking :: Bind9 In Chroot Environment Failed To Start?

Mar 19, 2011

system: centos 5.5 Kernel 2.6.18-194.el5 freshly installed. bind is configured in chroot environment out of the box. placed named.conf in /var/named/chroot/etc and my zone files in /var/named/chroot/var/named.

[Code]...

View 3 Replies View Related

Programming :: Obtaining Access To File In Chroot Environment From Usual Root?

Aug 1, 2011

ccess to an iso file in chroot environment from my usual root (/) env..

Within the chroot environment I have an iso file placed... In my program I need to access this iso file and perform mount and other operations.. But I cant do this in the chroot environment as I have only basic commands here (ls,cp etc.. and no mount)

So how can I access this iso file from my program ? Is there something like a file-descriptor which I can associate with the file exit from the chroot env and access the file via this fd ?

View 6 Replies View Related

OpenSUSE Install :: Chroot Permissions At Login?

Aug 11, 2011

I'm trying to get it so that for a particular user, at login, they are chrooted to a specific directory. I've set up the directory and everything such that I think it should work. I wrote a new login shell that chroots the user and set it to be the login shell for that user in yast. Everything works great, except that when the user logs in, it asks for two passwords : the user's password, and then the root password (because chrooting requires su privileges). Is there a way around this? This is what my login shell looks like:

Code:
#!/bin/sh
/usr/bin/sudo /usr/bin/chroot /home/raid/dictation /bin/bash

[code]....

View 8 Replies View Related

OpenSUSE Install :: Install PDFedit - ./configure - Error: QTDIR Environment Variable Must Be Set

Jun 11, 2011

I am trying to install PDFedit however after un-zipping and running configure at the end i get this message:checking whether we want to prepare pdfedit-core-dev package... no checking whether we want to build PDFedit gui... yes configure: error: QTDIR environment variable must be set

View 4 Replies View Related

Ubuntu Servers :: Completely Chroot Enviornoment Where Every Single Service Is In Chroot Mode (bind,mysql, Postfix)?

Jul 12, 2011

recently we decided to make our own panel (like Plesk or cPanel) but for Ubuntu and it will be licenced under GPL (like any other professional sofware).want to make a panel not only that fits our needs but also the needs of other system administrators and domain owners. We researched other panels and found out that non of them has security/look/ease of use in one package. Bad codig is another problem found in other panels.I made a short overwiev of what I think we have to have in the beginning.I Security :1. Completely chroot enviornoment where every single service is in chroot mode (bind,mysql, postfix, .... )2. Easily managed IPtables trough web-based interface. 3. Coding rules has to be strict.

II Software selection :
1. MTA - Postfix
2. POP - dovecot

[code]....

View 7 Replies View Related

OpenSUSE :: Install And Use KDE And LXCE Environment On 11.3?

Sep 12, 2010

Can i install both and use either KDE or LXCE environment on openSUSE 11.3??

I want to use sometimes KDE and sometimes LXCE environment after installation of openSUSE 11.3. Is this possible, if so how do i change in work environment??

I think the option is available during login..... but not sure....

By the way, which one is of the 4 available is the most user friendly GUI and which one is the heaviest on the system???

View 2 Replies View Related

OpenSUSE Install :: No GUI In Live Environment?

Aug 29, 2010

I'm working on making a system in suse studio, but I can't get into the GUI through normal means (as in using the live DVD) because it gives me a console. When i type "startx" i get an error based on signal 11 (or something)

I type kdm, and nothing happens. What should I do?

(p.s, this is with the USB raw image "burned" on. The DVD needs me to use no APIC)

View 2 Replies View Related

OpenSUSE Install :: Can Keep Two Different GUI - Desktop Environment ?

Jun 14, 2011

I am using openSUSE 11.4 with two different desktop environments(gnome and kde).is this good?

View 4 Replies View Related

OpenSUSE :: How To Install Alternate Desktop Environment

Feb 25, 2010

I have openSUSE 11.2 installed with KDE4 and what is the proper way to install another desktop/window manager. Installing fluxbox is straight forward with zypper install fluxbox what about gnome and lxde? How will the default application be affected e.g. when I login into KDE, video is defaulted to smplayer If gnome/lxde is installed will the default app change with the desktop environment or will one app be defaulted to all desktop environment?

View 1 Replies View Related

OpenSUSE Install :: KDE Environment Is Not Boting As Default

Feb 9, 2010

I had 11.0 running.I have upgraded to 11.2.After the installation, the KDE environment is not boting as the default, but runtime level 5 boot instead.I have checked my installation and ensured to have KDE4 installed.

View 9 Replies View Related

OpenSUSE Install :: Switch KDE Environment To Gnome?

Apr 27, 2010

I've installed and used SUSE 11.2 with KDE environment. In generally, I've completely satisfied with it. However I want to change KDE into Gnome without re-install SUSE.

View 1 Replies View Related

OpenSUSE Install :: Set Custom Environment Variables During Boot ?

Mar 14, 2010

I'm doing a multiboot system where I need one of the boot options ( using Grub ) to set a number of custom environment variables e.g. "distro".

View 5 Replies View Related

OpenSUSE Install :: Set System-Wise Environment Variables ?

Sep 9, 2010

I just recently reinstalled openSUSE 11.3 last night with the GNOME desktop. Since I'm starting fresh again, I'd like to set up my System as flawless as possible.

So, my question is stated in the Title. How do you set System-Wide environment variables on OpenSUSE 11.3 // GNOME? I usually set them by adding an export to my ~/.bashrc, but I remember in Ubuntu that I could add them to /etc/environment. I checked that file out on my system, and it has a the default comment on it stating:

"This file is parsed by pam_env module...Syntax: simple "KEY=VAL" pairs on seperate lines"

This seems to be the spot to add my "export JAVA_HOME=/usr/java/..etc", etc. but I wanted to clarify before I went ahead and made any changes.

View 9 Replies View Related

OpenSUSE Install :: Check Which Desktop Environment Is Installed?

Oct 6, 2010

I there a way to check which desktop environment installed on a machine using only commands in a shell

View 5 Replies View Related

OpenSUSE Install :: After Update: No Graphical Environment (radeonhd)?

Mar 23, 2011

after a upgrade via DVD (11.3 -> 11.4) which shows no errors, i can't start the Xserver. During Startup in Grub i have an graphical enviroment.

xorg.log says:
Code:
(EE) Failed to load /usr/lib64/xorg/modules/drivers/radeon_hd.so
(II) UnloadModule: "radeonhd"
(EE) Failed to load module "radeonhd" (loader failed, 7)
(EE) No drivers available
but the file /usr/lib64/xorg/modules/drivers/radeon_hd.so is there.

[Code]...

View 1 Replies View Related

OpenSUSE Install :: KDE Environment Not Booting As Default After Installation / Sort It Out?

Apr 2, 2011

I have cleaned-intall 11.4
After the installation, the KDE environment is not booting as the default, but runtime level 5 boot instead.
I have checked my installation and ensured to have KDE4 installed.

Please advise how to have KDE boot.

My graphics card is ATI Radeon Mobility X1400 on Acer Travelmate 4670.

View 4 Replies View Related

General :: Apt-get Install Error In CHROOT

Apr 12, 2011

I have installed chroot in Ubuntu 10.4. and we have a server as repository from which I can get stuff into chroot, I did the following steps:

1. apt-get update ok
2. apt-get dist-upgrade ok
3. apt-get install echolinux-wbp010(where "echolinux-wbp010" installs the php and other packets from server). In this command I receive the following error:

The following packages have unmet dependencies:

echolinux-wbp010 : Depends: config-system but it is not going to be installed
Depends: echogwtplayer but it is not going to be installed
Depends: echonf-pro but it is not going to be installed
Depends: xserver-xorg-input-kbd but it is not going to be installed
Depends: xserver-xorg-input-mouse but it is not going to be installed
Depends: xserver-xorg-video-nvidia-190 but it is not installable

View 2 Replies View Related

Ubuntu :: Have To Install All Libs Required For PCSX2 Within Chroot Itself?

Nov 6, 2010

I'm running Ubuntu 10.10 64bit and I have succesfully installed 10.10 32bit as a chroot using URL...I'm able to go into the chroot shell and it works perfectlyI want to run PCSX2. I have it downloaded in my personal Downloads folder but how to I access it from a chroot? also will I have to install all the libs required for PCSX2 within the chroot itself?

View 9 Replies View Related

OpenSUSE Network :: OpenSSH Chroot Only Supports Internal-sftp?

Nov 16, 2009

Had my chroot jail all set up and working nicely in OpenSUSE 11.1, upgraded to OpenSUSE 11.2 and had to set:

Subsystem sftp internal-sftp
(which was:
Subsystem sftp /usr/lib64/ssh/sftp-server)
and:
ForceCommand internal-sftp

[Code]...

Of which with-pam is mandatory. I used prefix to put the binaries in a place that would not conflict with the standard distribution, this meant I also needed to change /etc/init.d/sshd so that it referenced the newly compiled version of sshd, and copy /etc/ssh/sshd_config to /opt/etc/sshd_config.

View 9 Replies View Related

OpenSUSE :: Lost KDE Desktop Effects Settings After Install Gnome Desktop Environment

Jun 6, 2010

I installed Gnome desktop environment recently then ;I' ve lost KDE desktop effects settings. I just can see Compiz Configirator. I cant configure effects independently. There is same settings in gnome and kde. And also I cant change windows appearence.

View 4 Replies View Related

OpenSUSE :: Vsftpd Chroot - Cannot Upload - 550 Permission Denied Critical File Transfer Error

May 15, 2010

I have a problem with uploading any file to my Suse 11.1 with vsftpd. The active (not commented out) settings in my /etc/vsftpd.conf are:

dirmessage_enable=YES
chroot_local_user=YES
local_enable=YES
anonymous_enable=NO
syslog_enable=YES
connect_from_port_20=YES
pasv_enable=YES
listen=YES
ssl_enable=NO

And I added umask 022 to the user login script problem I have: I login with user and password that exists as a local user on my suse machine. I can read and download from my homedirectory, but I cannot upload with filezilla. Then I get the error: 550 permission denied critical file transfer error

View 3 Replies View Related

OpenSUSE :: GDM - How To Switch Desktop Environment

Dec 31, 2008

How do you change the GDM theme? Also how do I switch desktop environment. I installed both kde and gnome with the installer but at the login screen there is no sessions button

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved