Difference between revisions of "Translations:Install/Chroot/16/en"

From Funtoo
Jump to navigation Jump to search
(Importing a new version from external source)
 
(Importing a new version from external source)
 
Line 1: Line 1:
This chroot command, above, executes {{c|/bin/su --login}} inside the new environment. According to the {{c|su}} man page, {{c|su}} with the {{c|--login}} option provides "an environment similar to what the user would expect had the user logged in directly." That is what we want, as it will prevent any existing environment variables on the LiveCD from being set inside the chroot.
This special chroot command executes {{c|/bin/su --login}} inside the new environment. According to the {{c|su}} man page, {{c|su}} with the {{c|--login}} option provides "an environment similar to what the user would expect had the user logged in directly." That is what we want, as it will prevent any existing environment variables on the LiveCD from being set inside the chroot.

Latest revision as of 04:05, December 14, 2021

This special chroot command executes /bin/su --login inside the new environment. According to the su man page, su with the --login option provides "an environment similar to what the user would expect had the user logged in directly." That is what we want, as it will prevent any existing environment variables on the LiveCD from being set inside the chroot.