ultrix man page for chroot

Query: chroot

OS: ultrix

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

chroot(8)						      System Manager's Manual							 chroot(8)

Name
       chroot - change root directory for a command

Syntax
       /usr/bin/chroot newroot command

Description
       The program is executed relative to the new root.  The meaning of any initial slashes (/) in path names is changed for a command and any of
       its children to newroot.  Furthermore, the initial working directory is newroot.

       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
       current root of the running process.

Restrictions
       This program is restricted to processes with appropriate privileges.

       Use extreme caution when referencing special files in the new root file system.

Examples
       The following example will create the file x relative to the original root, not the new one.

	      % chroot newroot command >x

See Also
       chdir(2), chroot(2)

																	 chroot(8)
Related Man Pages
switch_root(8) - linux
switch_root(8) - debian
chroot(1m) - hpux
chroot(8) - netbsd
chroot(8) - osf1
Similar Topics in the Unix Linux Community
Limiting access
restricting access...
how do U restrict a user to a single directory?
Chroot sftp users, remote sftp login shows wrong timestamp on files
Sftp server/chrooted trying to limit user permissions