Difference between revisions of "Usermode"

From CBLFS
Jump to navigationJump to search
(Optional)
 
(12 intermediate revisions by 6 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://mirrors.dotsrc.org/fedora/development/source/SRPMS/usermode-1.87-3.src.rpm
+
| http://mirrors.dotsrc.org/fedora/development/source/SRPMS/usermode-{{Usermode-Version}}-3.src.rpm
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|User-Mode Linux is a safe, secure way of running Linux versions and Linux processes. Run buggy software, experiment with new Linux kernels or distributions, and poke around in the internals of Linux, all without risking your main Linux setup.|http://user-mode-linux.sourceforge.net/}}
  
 
== Extracting the RPM ==
 
== Extracting the RPM ==
An extracted package can be downloaded from: http://cross-lfs.org/~jciccone/usermode-1.87.tar.gz
+
An extracted package can be downloaded from: http://cross-lfs.org/~jciccone/usermode-{{Usermode-Version}}.tar.gz
  
 
Make sure that you have [[rpm2cpio]] and [[Cpio]] installed. This is not the only way to extract the tarball. If you know of a better way that has almost no dependencies, By all means add it.
 
Make sure that you have [[rpm2cpio]] and [[Cpio]] installed. This is not the only way to extract the tarball. If you know of a better way that has almost no dependencies, By all means add it.
  
  rpm2cpio usermode-1.87-3.src.rpm | cpio -d -i
+
  rpm2cpio usermode-{{Usermode-Version}}-3.src.rpm | cpio -d -i
  
The above command will create 2 files. '''usermode-1.87.tar.gz''' and '''usermode.spec'''. It is safe to delete '''usermode.spec'''
+
The above command will create 2 files. '''usermode-{{Usermode-Version}}.tar.gz''' and '''usermode.spec'''. It is safe to delete '''usermode.spec'''
  
 
== Dependencies ==
 
== Dependencies ==
  
 
=== Required ===
 
=== Required ===
* [[Glib2]]
 
 
* [[libglade]]
 
* [[libglade]]
* [[Linux-Pam]]
+
* [[Linux-PAM]]
 
* [[libuser]]
 
* [[libuser]]
 +
 
=== Optional ===
 
=== Optional ===
 
* [[Gtk2]]
 
* [[Gtk2]]
 
* [[startup-notification]]
 
* [[startup-notification]]
 
* [[libwnck]]
 
* [[libwnck]]
* [[Electric Fence]]
+
* [[DUMA]]
 
* [[SELinux]]
 
* [[SELinux]]
  
Line 37: Line 39:
 
         -e "/--add-category X-Red-Hat-Base/d" \
 
         -e "/--add-category X-Red-Hat-Base/d" \
 
         -e "/--add-category Application/d" Makefile.in &&
 
         -e "/--add-category Application/d" Makefile.in &&
 +
sed -i "/Icon=/s@=@&/usr/share/@" *.desktop.in &&
 
  ./configure --prefix=/usr --sysconfdir=/etc &&
 
  ./configure --prefix=/usr --sysconfdir=/etc &&
 
  make
 
  make
Line 54: Line 57:
 
         -e "/--add-category X-Red-Hat-Base/d" \
 
         -e "/--add-category X-Red-Hat-Base/d" \
 
         -e "/--add-category Application/d" Makefile.in &&
 
         -e "/--add-category Application/d" Makefile.in &&
 +
sed -i "/Icon=/s@=@&/usr/share/@" *.desktop.in &&
 
  CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  ./configure --prefix=/usr --sysconfdir=/etc &&
 
  ./configure --prefix=/usr --sysconfdir=/etc &&
Line 69: Line 73:
 
         -e "/--add-category X-Red-Hat-Base/d" \
 
         -e "/--add-category X-Red-Hat-Base/d" \
 
         -e "/--add-category Application/d" Makefile.in &&
 
         -e "/--add-category Application/d" Makefile.in &&
 +
sed -i "/Icon=/s@=@&/usr/share/@" *.desktop.in &&
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  ./configure --prefix=/usr --sysconfdir=/etc &&
 
  ./configure --prefix=/usr --sysconfdir=/etc &&
Line 84: Line 89:
 
         -e "/--add-category X-Red-Hat-Base/d" \
 
         -e "/--add-category X-Red-Hat-Base/d" \
 
         -e "/--add-category Application/d" Makefile.in &&
 
         -e "/--add-category Application/d" Makefile.in &&
 +
sed -i "/Icon=/s@=@&/usr/share/@" *.desktop.in &&
 
  CC="gcc ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  CC="gcc ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  ./configure --prefix=/usr --sysconfdir=/etc &&
 
  ./configure --prefix=/usr --sysconfdir=/etc &&
Line 94: Line 100:
 
== Configuring usermode ==
 
== Configuring usermode ==
  
If you would like users to beable to change their own passwords and information using the gui tools run the following command:
+
If you would like users to be able to change their own passwords and information using the gui tools, run the following command:
  
 
  chmod -v 4755 /usr/sbin/userhelper
 
  chmod -v 4755 /usr/sbin/userhelper
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-
 +
! Installed Programs:
 +
| ???
 +
|-
 +
! Installed Libraries:
 +
| ???
 +
|-
 +
! Installed Directory:
 +
| ???
 +
|}
 +
 +
[[Category:Security]]

Latest revision as of 09:38, 20 September 2009

Download Source: http://mirrors.dotsrc.org/fedora/development/source/SRPMS/usermode-1.87-3.src.rpm

Introduction to Usermode

User-Mode Linux is a safe, secure way of running Linux versions and Linux processes. Run buggy software, experiment with new Linux kernels or distributions, and poke around in the internals of Linux, all without risking your main Linux setup.

Project Homepage: http://user-mode-linux.sourceforge.net/

Extracting the RPM

An extracted package can be downloaded from: http://cross-lfs.org/~jciccone/usermode-1.87.tar.gz

Make sure that you have rpm2cpio and Cpio installed. This is not the only way to extract the tarball. If you know of a better way that has almost no dependencies, By all means add it.

rpm2cpio usermode-1.87-3.src.rpm | cpio -d -i

The above command will create 2 files. usermode-1.87.tar.gz and usermode.spec. It is safe to delete usermode.spec

Dependencies

Required

Optional

Non-Multilib

Compile the package:

sed -i -e "/--add-category AdvancedSettings/d" \
       -e "/--add-category X-Red-Hat-Base/d" \
       -e "/--add-category Application/d" Makefile.in &&
sed -i "/Icon=/s@=@&/usr/share/@" *.desktop.in &&
./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

sed -i -e "/--add-category AdvancedSettings/d" \
       -e "/--add-category X-Red-Hat-Base/d" \
       -e "/--add-category Application/d" Makefile.in &&
sed -i "/Icon=/s@=@&/usr/share/@" *.desktop.in &&
CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

N32

Compile the package:

sed -i -e "/--add-category AdvancedSettings/d" \
       -e "/--add-category X-Red-Hat-Base/d" \
       -e "/--add-category Application/d" Makefile.in &&
sed -i "/Icon=/s@=@&/usr/share/@" *.desktop.in &&
CC="gcc ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

64Bit

Compile the package:

sed -i -e "/--add-category AdvancedSettings/d" \
       -e "/--add-category X-Red-Hat-Base/d" \
       -e "/--add-category Application/d" Makefile.in &&
sed -i "/Icon=/s@=@&/usr/share/@" *.desktop.in &&
CC="gcc ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

Configuring usermode

If you would like users to be able to change their own passwords and information using the gui tools, run the following command:

chmod -v 4755 /usr/sbin/userhelper

Contents

Installed Programs: ???
Installed Libraries: ???
Installed Directory: ???