[Discuss] hosts.equiv
Jerry Natowitz
j.natowitz at rcn.com
Fri Sep 14 10:45:32 EDT 2012
If you are confident in the security of your local net, and you don't want to use ssh, you have two choice: rsh or running a daemon process on one or both systems.
To use rsh (works on Fedora and Slackware, can't vouch for anyone else):
1) enable xinetd (if not enabled) and then enable rsh
2) Create $HOME/.rhosts on all destination systems, adding "+ <username>"
3) chmod 400 $HOME/.rhosts
4) add a line with "rsh" to the end of /etc/securetty
To use a daemon process:
1) Create /etc/rsyncd.conf -- do an man on rsyncd.conf
Here is mine:
uid=jerry
gid=jerry
[backup]
path = /usr4
strict modes = false
use chroot = no
max connections = 15
hosts allow = la-machine,opus,bnt,puma,ra
read only = false
2) Enable xinetd and rsynchd
3) On server systems, specify target like "valhalla::backup/la-machine"
---- Original message ----
>Date: Fri, 14 Sep 2012 08:40:44 -0400
>From: discuss-bounces+j.natowitz=rcn.com at blu.org (on behalf of dan moylan <jdm at moylan.us>)
>Subject: [Discuss] hosts.equiv
>To: "boston linux and unix (blu)" <discuss at blu.org>
>
>
>i have a script to rsync a number of directories between two
>computers on my local net and would like to avoid having to
>enter my password for each one. i thought i could do this
>using hosts.equiv, but it's not working for me. i solved
>this once before a number of years ago, but i'm undoubtedly
>forgetting something now. any help would be appreciated.
>
>tia,
>ole dan
>
>j. daniel moylan
>84 harvard ave
>brookline, ma 02446-6202
>617-232-2360 (tel)
>jdm at moylan.us
>www.moylan.us
>[death to html bloat!]
>_______________________________________________
>Discuss mailing list
>Discuss at blu.org
>http://lists.blu.org/mailman/listinfo/discuss
More information about the Discuss
mailing list