BSD 4_3_Reno development
[unix-history] / usr / share / man / cat8 / chroot.0
CommitLineData
135e157e
C
1
2
3
4CHROOT(8) 1990 CHROOT(8)
5
6
7
8N\bNA\bAM\bME\bE
9 chroot - change root directory
10
11S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
12 c\bch\bhr\bro\boo\bot\bt n\bne\bew\bwr\bro\boo\bot\bt [\b[ c\bco\bom\bmm\bma\ban\bnd\bd ]\b]
13
14D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
15 The _\bc_\bh_\br_\bo_\bo_\bt command changes its root directory to the sup-
16 plied directory _\bn_\be_\bw_\br_\bo_\bo_\bt and exec's _\bc_\bo_\bm_\bm_\ba_\bn_\bd, if supplied, or
17 an interactive copy of your shell (as specified by the
18 environmental variable _\bS_\bH_\bE_\bL_\bL) if not. /_\bb_\bi_\bn/_\bs_\bh is used if
19 _\bS_\bH_\bE_\bL_\bL is not specified.
20
21 Note, _\bc_\bo_\bm_\bm_\ba_\bn_\bd or the shell are run as your real-user-id.
22
23S\bSE\bEE\bE A\bAL\bLS\bSO\bO
24 chdir(2), chroot(2), environ(7)
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63Printed 7/27/90 June 1
64
65
66