Unix and Linux Discussions Tagged with chroot |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
7 |
4,433 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,921 |
Red Hat |
|
|
|
0 |
16,426 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,371 |
Cybersecurity |
|
|
|
0 |
3,835 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
2,978 |
UNIX for Advanced & Expert Users |
|
|
|
9 |
55,347 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
14,129 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
19,009 |
Gentoo |
|
|
|
1 |
15,175 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
2,386 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,360 |
UNIX for Dummies Questions & Answers |
|
|
|
9 |
12,279 |
Cybersecurity |
|
|
|
4 |
3,883 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,138 |
Cybersecurity |
|
|
|
1 |
4,191 |
UNIX for Dummies Questions & Answers |
CHROOT(8) BSD System Manager's Manual CHROOT(8)
NAME
chroot -- change root directory
SYNOPSIS
chroot [-u user] [-g group] [-G group,group,...] newroot [command]
DESCRIPTION
The chroot utility changes its current and root directories to the supplied directory newroot and then exec's command, if supplied, or an
interactive copy of the user's login shell.
If the -u, -g or -G options are given, the user, group and group list of the process are set to these values after the chroot has taken
place.
ENVIRONMENT
The following environment variable is referenced by chroot:
SHELL If set, the string specified by SHELL is interpreted as the name of the shell to exec. If the variable SHELL is not set, /bin/sh is
used.
SEE ALSO
chdir(2), chroot(2), setgid(2), setgroups(2), setuid(2), getgrnam(3), environ(7), jail(8)
HISTORY
The chroot utility first appeared in 4.4BSD.
BSD
June 7, 2003 BSD