Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a sticky bit of a problem. We are running our webserver with all of our individual hosted domains running within their own chroot jail. In the process of trying to set up Awstats for our own domain (for the ISP I work at), we (meaning myself and the senior admin here) discovered that Perl is not running anything inside of backticks while within the chroot jail. As you can guess, this might pose a problem.
We tried researching the issue, only to find basically nothing out there on this issue or how to fix it. If anyone has any clues they can pass along to us, it would be greatly appreciated.
I should take this opportunity to point out that the entire Perl installation is within the chroot jail, one installation per domain. The entire web and FTP servers also run from within the jail in their entirety.
Backticks are working. The issue was that Perl could not find the executable we wanted it to run (pwd). The funny thing was, if you dropped into the command line under the chroot jail, pwd ran just fine. But when we looked for the executable under the jailed directory, it wasn't there. The only thing we can think of is bash was answering the request for pwd rather than firing the executable.
Well, we have our issue solved now, we think, so thanks for your help anyway.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.