At 1/22/2002 04:05 PM +0100, you wrote: >I would like to mirror the redhat updates. However, I have doubts about how to >do it securely.
I wouldn't generally do *anything* as root if I could avoid it. Create a user mirror, and have him/her do nothing but this. Find a mirror that allows rsync, and use that; it's a fantastic tool. Make sure that mirror owns the files and directories you bring in with "chown -R mirror.mirror /path/to/mirrordir". Note that having or not having a slash at the end makes a difference depending on how you type it. Remember to be courteous; if you're just doing this for yourself, set your mirror to update automatically ideally at 4am on Sunday (the lowest-traffic time you can think of, and ideally only once or a couple of times a week). Then, if you need to sync because urgent updates just came out, you can trigger that same script manually. If you want to get the updates daily, give back to the community (which runs mirrors and their bandwidth for free) and write the mirror admin to request permission. Many mirrors will open rsync for your IP if you ask nicely, and if you are providing mirror access yourself to other people like a Local Users' Group (LUG). What I did was provide low-bandwidth access to my mirror but also to make ISO's for a very low fee ($3/disc) for anyone in my country/region; this way there was some value in my increased use of bandwidth since a lot more people were able to get RedHat through me. I could provide value (over 50GB/month in ISO's) and justify my access, but without straining my measly 128 Kbps dedicated link. Just my thoughts. Take what you need, but remember to give when you can. -- Rodolfo J. Paiz [EMAIL PROTECTED] _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list