Re: [SLE] (with better English) Re: [SLE] backup operation: back up the files belong to www-run



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Saturday 2006-10-28 at 17:33 +0200, Leendert Meyer wrote:

A fifth one: rsync, perhaps via ssh transport.

Yes, but IMHO this seems only a partial solution, as it does not take
care of the read-permission problem. ;-) 600 means only wwwrun or
root have read-access.

Well, the rsync daemon runs as root: it would have access:

An example that copies all the files in a remote module named
"src":

rsync -av host::src /dest

Some modules on the remote daemon may require authentication. If
so, you will receive a password prompt when you connect. You can
avoid the password prompt by setting the environment variable
RSYNC_PASSWORD to the password you want to use or using the
--password-file option. This may be useful when scripting rsync.

That's without ssh transport, but the manual explains how to add that.
Like:

rsync -av --rsh=ssh host::module /dest

There are many combinations. I think that the remote user can be
"www-run", but perhaps not if that requires a shell. I'm not sure about
that.


- --
Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFFRJiXtTMYHG2NR9URAijKAKCN1GsWcsmpNvLB7j2ye+cz7B8BQgCcDDBj
SRTPQQpGcTymiDPrI3kvk9M=
=XpO9
-----END PGP SIGNATURE-----


--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: Restricting access to a web server by IP
    ... > remote control clients, etc - we remotely ... > The agrument against is that mpst vulnerabilities seem to come through ... > servers, and blocking access to all IPs accept those on the allowed list - ...
    (alt.computer.security)
  • Re: Restricting access to a web server by IP
    ... > remote control clients, etc - we remotely ... > The agrument against is that mpst vulnerabilities seem to come through ... > servers, and blocking access to all IPs accept those on the allowed list - ...
    (comp.security.misc)
  • Re: Restricting access to a web server by IP
    ... > remote control clients, etc - we remotely ... > The agrument against is that mpst vulnerabilities seem to come through ... > servers, and blocking access to all IPs accept those on the allowed list - ...
    (comp.security.firewalls)
  • Re: smb.conf
    ... I just came across this post and noted you're use of the smb browser. ... does it allow one to actually work with file on remote ... >>Linux machine is located as well as the Samba server, ... > to both machines as root. ...
    (linux.redhat)
  • Re: Trust issues?
    ... I've found that you need to open file and print sharing to the local subnet, ... You may need to modify your firewall log ... How are you accessing the remote computer? ... >> you're using remote desktop or RWW, it's normal to get a password prompt ...
    (microsoft.public.windows.server.sbs)