|
|
1.1 ! root 1: .\" Copyright (c) 1988 The Regents of the University of California. ! 2: .\" All rights reserved. ! 3: .\" ! 4: .\" Redistribution and use in source and binary forms are permitted provided ! 5: .\" that: (1) source distributions retain this entire copyright notice and ! 6: .\" comment, and (2) distributions including binaries display the following ! 7: .\" acknowledgement: ``This product includes software developed by the ! 8: .\" University of California, Berkeley and its contributors'' in the ! 9: .\" documentation or other materials provided with the distribution and in ! 10: .\" all advertising materials mentioning features or use of this software. ! 11: .\" Neither the name of the University nor the names of its contributors may ! 12: .\" be used to endorse or promote products derived from this software without ! 13: .\" specific prior written permission. ! 14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED ! 15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF ! 16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 17: .\" ! 18: .\" @(#)chroot.8 5.2 (Berkeley) 6/24/90 ! 19: .\" ! 20: .TH CHROOT 8 "June 24, 1990" ! 21: .UC 6 ! 22: .SH NAME ! 23: chroot \- change root directory ! 24: .SH SYNOPSIS ! 25: .B chroot newroot [ command ] ! 26: .SH DESCRIPTION ! 27: The ! 28: .I chroot ! 29: command changes its root directory to the supplied directory ! 30: .I newroot ! 31: and exec's ! 32: .IR command , ! 33: if supplied, or an interactive copy of your shell (as specified ! 34: by the environmental variable ! 35: .IR SHELL ) ! 36: if not. ! 37: .I /bin/sh ! 38: is used if ! 39: .I SHELL ! 40: is not specified. ! 41: .PP ! 42: Note, ! 43: .I command ! 44: or the shell are run as your real-user-id. ! 45: .SH "SEE ALSO" ! 46: chdir(2), chroot(2), environ(7)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.