Search results

  1. G

    Something Like .profile or .bashrc Inside chroot

    I had the very same problem, and found out the solution: It seems that, if you chroot with non-root user, chroot's bash still only looks for .bash_profile, .bashrc and/or .profile, whithin a "/root" directory inside the chrooted directory. Put those files there, and it'll work.
Top