chroot man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

chroot(1M)							    chroot(1M)

NAME
       chroot - change root directory for a command

SYNOPSIS
       newroot command

DESCRIPTION
       The  command  executes command relative to the newroot.	The meaning of
       any initial slashes in path names is changed for command and any of its
       children	 to  newroot.	Furthermore,  the initial working directory is
       newroot.

       Note that command suffixes that affect input or output for the  command
       use the original root, not the new root.	 For example, the command:

       locates file relative to the original root, not the new one.

       The command variable includes both the command name and any arguments.

       The new root path name is always relative to the current root.  Even if
       a is currently in effect, the newroot argument is relative to the  cur‐
       rent root of the running process.

       This command is restricted to users with appropriate privileges.

EXTERNAL INFLUENCES
   International Code Set Support
       Single- and multibyte character code sets are supported.

WARNINGS
       command cannot be in a shell script.

       Exercise	 extreme  caution  when	 referring to special files in the new
       root file system.

       does not search the environment variable for the location  of  command,
       so the absolute path name of command must be given.

       When  using to establish a new environment, all absolute path name ref‐
       erences to the file system are lost, rendering shared  libraries	 inac‐
       cessible.   If  continued access to shared libraries is needed for cor‐
       rect operation, the shared libraries and the dynamic loader  be	copied
       into the new root environment.

SEE ALSO
       chdir(2), chroot(2).

STANDARDS CONFORMANCE
								    chroot(1M)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net