Re: Net::SSH::Perl security question



On Fri, 30 Nov 2007 08:49:39 -0800, Joe wrote:

We have a need to allow users to submit a job through a web server
(front end machine) to run on back end cluster machines. I made use of
Net::SSH::Perl in a CGI program to realize this. One thing I notice is
that the CGI program requires a "/.ssh/known_hosts2" at the top path of
the file system on the front end machine where Apache is running. I
wonder does this potentially compromise any security on the system?
Need expert advice ...

Just guessing but....

The CGI is probably looking for $HOME/.ssh/known_hosts2. Which means that
either the HOME variable is not filled, or the user has / as his homedir.

M4
.



Relevant Pages

  • Re: Default security: other users can ACCESS MY HOMEDIR?!
    ... How would you restrict regular users from accessing any part of the ... file system accept there home dirs? ... >> i didn't realize all my users had full access to my homedir! ... >> and how do i set my system to chmod all new homedirs to that chmod? ...
    (freebsd-questions)
  • Re: [opensuse] Linux on Dell preloads
    ... Ysgrifennodd Seth Arnold: ... having no problem at all with Apache to having nothing but trouble - and it all turned out to be because AppArmor was denying it access to the file system. ... I also suspect that AppArmor was behind the trouble I had getting the Zend Platform installed. ...
    (SuSE)
  • PHP Filesystem permissions help
    ... I'm running Fedora Core 5 which had Apache and PHP 5.1.6 installed. ... to the file system because it keeps getting a permission denied. ...
    (alt.php)
  • Re: PHP Filesystem permissions help
    ... I'm running Fedora Core 5 which had Apache and PHP 5.1.6 installed. ... access to the file system because it keeps getting a permission denied. ... Warning: fwrite: supplied argument is not a valid stream resource in ...
    (alt.php)
  • Net::SSH::Perl security question
    ... We have a need to allow users to submit a job through a web server ... to run on back end cluster machines. ... path of the file system on the front end machine where Apache is ... Need expert advice ... ...
    (comp.lang.perl.misc)