chroot in Mac OS X
By: Strauss K
change the root directory to the supplied directory newroot and exec command, if supplied, or an interactive copy of your shell.
Syntax chroot [-u -user] [-g -group] [-G -group,group,...] newroot [command] [ARGS] Options -u Set the USER to user after the chroot has taken place. -g Set the GROUP to group after the chroot has taken place. -G Set the Group List to group(s) after the chroot has taken place.
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.
Most Viewed Articles (in macos ) |
Latest Articles (in macos) |
Comment on this tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview