06-19-2014
1. Try using chroot jail
2. Do some engineering on RPM package to change installation directory
10 More Discussions You Might Find Interesting
1. Solaris
Hi All,
Where do I find/download this font package 'FONT_FAMILY_SANS_SERIF-FONT_STYLE_NORMAL-14' and how to install it ?
When I run an osi utility (ftamtool) it shows me this error:
##FTAM Tool : XView ERROR
XView warning: Impossible de charger le jeu de caractères 'FONT_FAMILY_SANS_SERI... (0 Replies)
Discussion started by: andryk
0 Replies
2. Shell Programming and Scripting
I am by no means a scripting person, i understand the basics of Bash and some other shells. but i am still learning a great deal mostly from this site.
This is what i am basically trying to do. We have over 1000 sun Blade 1500 clients and 200+ V440, v210, V240 servers. I want the local sysadmin... (0 Replies)
Discussion started by: deaconf19
0 Replies
3. Shell Programming and Scripting
Hi,
I have an application to be installed and I want a user to be able to install it.
But I meet the following issues:
Removing MyApp
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open... (1 Reply)
Discussion started by: potro
1 Replies
4. Linux
1. I have never used or dealt with unix, linux, or any variation thereof, and want to. My biggest problem is that all the versions I've looked at want you to install from a CD or DVD, but I'm wanting to put it onto an Asus eeepc, which has no such drive. How would I go about installing on it? ... (4 Replies)
Discussion started by: lemming
4 Replies
5. UNIX for Dummies Questions & Answers
Hi everyone,
Hope u doing good.
I am trying to installl WebSphere Application Server(WAS) ND package, i got problem at initial level
I hope, the problem is with Mozilla browzer. Can anyone trobleshoot the problem
An error occurred while starting the launchpad for a WebSphere Application ... (0 Replies)
Discussion started by: sarfraz
0 Replies
6. BSD
Hey all I'm having a little trouble installing a MySQL database. This is what I tried...
export PKG_PATH=ftp://mirror.planetunix.net/pub/OpenBSD/4.9/packages/`machine -a`
pkg_add -v mysql-server mysql-client
and this is what I get
Unknown element: @rcscript /etc/rc.d/mysqld in... (1 Reply)
Discussion started by: desreguard
1 Replies
7. BSD
Hello everyone ,
forgive me if this the wrong place to post my question .
i got a pfsense box ( FreeBSD 8.1-RELEASE-p4 )
i need to know how to install the "mlocate" package to be able to use the command "locate" on the Box
Thank you (1 Reply)
Discussion started by: Saed
1 Replies
8. Ubuntu
Hi i want to install md5 package into ubuntu. any idea how?
Apparently applying md5sum and md5 on a string (not a file) gives a different value! The one that I need to use is the md5 command, but it says command not found when i type md5 in bash. (2 Replies)
Discussion started by: jremio
2 Replies
9. UNIX for Dummies Questions & Answers
Hi just wondering really ......
I've done a showrev -p and am somewhat surprised to see apparently multiple different versions of the same patches ......
112161-02
112161-03
112161-04
It's my understanding that a newer revision of a patch , -04 in this case supercedes all previous... (2 Replies)
Discussion started by: Martincorneuk
2 Replies
10. HP-UX
Hi,
I need to use the tool "meminfo" in the server, however am not able to as it says the package is not found.
I am also not able to find the package in the "HPUX Porting and Archive center".
Please guide on how to install this package?
Thanks,
Aigini (1 Reply)
Discussion started by: anaigini45
1 Replies
LEARN ABOUT MOJAVE
chroot
CHROOT(2) BSD System Calls Manual CHROOT(2)
NAME
chroot -- change root directory
SYNOPSIS
#include <unistd.h>
int
chroot(const char *dirname);
DESCRIPTION
Dirname is the address of the pathname of a directory, terminated by an ASCII NUL. chroot() causes dirname to become the root directory,
that is, the starting point for path searches of pathnames beginning with '/'.
In order for a directory to become the root directory a process must have execute (search) access for that directory.
If the program is not currently running with an altered root directory, it should be noted that chroot() has no effect on the process's cur-
rent directory.
If the program is already running with an altered root directory, the process's current directory is changed to the same new root directory.
This prevents the current directory from being further up the directory tree than the altered root directory.
This call is restricted to the super-user.
RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned and errno is set to indicate an error.
ERRORS
chroot() will fail and the root directory will be unchanged if:
[ENOTDIR] A component of the path name is not a directory.
[ENAMETOOLONG] A component of a pathname exceeded {NAME_MAX} characters, or an entire path name exceeded {PATH_MAX} characters.
[ENOENT] The named directory does not exist.
[EACCES] Search permission is denied for any component of the path name.
[ELOOP] Too many symbolic links were encountered in translating the pathname.
[EFAULT] Path points outside the process's allocated address space.
[EIO] An I/O error occurred while reading from or writing to the file system.
SEE ALSO
chdir(2)
WARNINGS
There are ways for a root process to escape from the chroot jail.
HISTORY
The chroot() function call appeared in 4.2BSD.
4.2 Berkeley Distribution June 4, 1993 4.2 Berkeley Distribution