Displaying 3 results from an estimated 3 matches for "webdev1".
Did you mean:
webdev
2011 May 16
2
allowing users to write to a web content area
Hello,
I've got apache running on a centos 5.6 machine. All of my users have
a umask of 077 set in /etc/bashrc. I'm now wanting to give several of
them permission to write to a web area so they can place content
visible to the web server. I've got two groups webdev1 and webdev2
which I want one to be able to write to site1 and the other to site2.
I've got between 3 and 5 users in each group. I'd prefer not to mess
with these users umask settings, but want the correct permissions and
ownerships user:webdev1 or user:webdev2 where user is the username of...
2006 Nov 02
0
SOLVED: Re: Using perl-Net-SSH-Perl with pubkey authentication under CGI.
...then
> apologies.
Thanks to Marc and Ingimar for their suggestions, I think we've cracked it.
When Keychain runs it prompts the user for their private key password
then stores the ssh-agent information away in ~/.keychain/$hostname-sh
and ~/.keychain/$hostname-csh. For example...
[root at webdev1 ~]# cat ~apache/.keychain/`hostname`-sh
SSH_AUTH_SOCK=/tmp/ssh-yheGAI4188/agent.4188; export SSH_AUTH_SOCK;
SSH_AGENT_PID=4189; export SSH_AGENT_PID;
Ingimar suggested these environment variables might not be available
to the CGI environment and he was spot on. It appears Agent.pm from
Net::SSH::P...
2006 Nov 02
1
Using perl-Net-SSH-Perl with pubkey authentication under CGI.
...available via ssh-agent.
I've setup a specific user 'cgissh' on the remote target system and
configured its authorized_keys with apache at client's pubkey.
>From the client system, running the following script from the shell
returns the information I'd expect...
[apache at webdev1 cgi-bin]$ cat perl-net-ssh-perl-test.pl
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<HEAD><TITLE>Quick Test</TITLE></HEAD>";
$ENV{HOME} = "/var/www";
$ENV{USER} = "apache";
use Net::SSH::Perl;
$sshhost='target...