Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-01-2002, 01:25 PM   #1
LQ Newbie
Registered: Mar 2002
Posts: 1

Rep: Reputation: 0
Question apache, process owner, and rsync/ssh question

I am running an apache server on a linux machine.
Clients can connect to this server in their browser, and i'd like one of their possible actions to be copying files from this server to another linux server, using rsync through ssh.
The problem is that the apache user is "nobody" and is not recognised by ssh.

i've tried defining a "nobody" home and put a key in the .ssh, then authorize it on the remote server, but it doesn't work.

i've also tried writing the rsync command in a shell script owned by an authorized user on the second machine, and changed its mode with the setuserid bit (rws).
I thought this was supposed to make that whoever was running the script, the process owner would still be the script owner, but it doesn't work.

Can anyone help ? It looks like such a simple thing to do and i've spent hours and hours trying to do this...

thanks in advance


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to determine who the process' owner* is? balteo Linux - General 3 04-20-2013 06:40 AM
Apache ssh dreamweaver vsftpd question wheatstraw Linux - Security 1 06-03-2005 12:28 PM
Rsync vs ssh satimis Linux - Software 7 04-04-2004 07:58 AM
[APACHE] change upload owner Creak Linux - Software 0 03-14-2004 06:59 PM
uid battle: Apache v/s script's owner kires Linux - Networking 3 01-19-2004 04:43 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration