04-23-2013
For Unix to Unix, there is also rsync which I highly recommend.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am setting up a cron to do a daily transfer of some files from one unix server to another unix server. It seems that there are a few ways to go about this (kermit, scp, etc). What is the best way to transfere large files quickly between unix machines? Thanks. (3 Replies)
Discussion started by: ejbrever
3 Replies
2. Shell Programming and Scripting
Hi,
My local server is :/usr/abcd/
Remote server is :/Usr/host/test/
I want to send files from local unix directory(All files starting with O_999) to
remote host unix directory.
Can any body give me the Unix Shell script to do this.
One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies
3. HP-UX
want to remove the thread
thanks (2 Replies)
Discussion started by: indira
2 Replies
4. Shell Programming and Scripting
want to remove this thread.
thanks (2 Replies)
Discussion started by: indira
2 Replies
5. Shell Programming and Scripting
I want to ftp some of the unix files to my local PC through unix shell script.
I want that script should be run from unix.
when i tried by using scp, came to know that connection refused (3 Replies)
Discussion started by: balireddy_77
3 Replies
6. HP-UX
hi all,
I have two server(Unix tru64 and windows 2003 server).
these server's live running now.
The win2003server doesn't have ftp server. Also Unix server doesn't have samba.
if both server's have ftp server that no problem.
How to transfer file from windows server to unix by every... (2 Replies)
Discussion started by: Tlg13team
2 Replies
7. Shell Programming and Scripting
Hello sir/Madam,
I m writing in unix prompt folllowing-
>ftp <local ip> // my pc ip is 10.64.0.59
Then following message is displayed-
"ftp: connect: Connection refused"
Please help me to solve this problem.
Thanking you. (3 Replies)
Discussion started by: Nirmal
3 Replies
8. Shell Programming and Scripting
Hi,
Can anyone help me. I am a new user in unix. I want to transfer (ftp) a file from one unix server to another server. Kindly help me.
more details:
server 1
file_name a.lst
path: :/temp
server 2
path : /develp/temp
Thanks,
Raj, (2 Replies)
Discussion started by: easterraj
2 Replies
9. Shell Programming and Scripting
Hi Experts,
I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers.
Could some body provide the inputs for this.
and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies
10. UNIX for Dummies Questions & Answers
I have a requirement, where in we need to SFTP files from the Unix box to the Windows server.
Since we are putting files...Where would we place the public/private keys from the Unix servers??
Any default path as such???
How would the sftp happen from Unix to Windows...Please help...
... (1 Reply)
Discussion started by: saggiboy10
1 Replies
LEARN ABOUT DEBIAN
rsync_selinux
rsync_selinux(8) rsync Selinux Policy documentation rsync_selinux(8)
NAME
rsync_selinux - Security Enhanced Linux Policy for the rsync daemon
DESCRIPTION
Security-Enhanced Linux secures the rsync server via flexible mandatory access control.
FILE_CONTEXTS
SELinux requires files to have an extended attribute to define the file type. Policy governs the access daemons have to these files. If
you want to share files using the rsync daemon, you must label the files and directories public_content_t. So if you created a special
directory /var/rsync, you would need to label the directory with the chcon tool.
chcon -t public_content_t /var/rsync
To make this change permanent (survive a relabel), use the semanage command to add the change to file context configuration:
semanage fcontext -a -t public_content_t "/var/rsync(/.*)?"
This command adds the following entry to /etc/selinux/POLICYTYPE/contexts/files/file_contexts.local:
/var/rsync(/.*)? system_u:object_r:publix_content_t:s0
Run the restorecon command to apply the changes:
restorecon -R -v /var/rsync/
SHARING FILES
If you want to share files with multiple domains (Apache, FTP, rsync, Samba), you can set a file context of public_content_t and pub-
lic_content_rw_t. These context allow any of the above domains to read the content. If you want a particular domain to write to the pub-
lic_content_rw_t domain, you must set the appropriate boolean. allow_DOMAIN_anon_write. So for rsync you would execute:
setsebool -P allow_rsync_anon_write=1
BOOLEANS
system-config-selinux is a GUI tool available to customize SELinux policy settings.
AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
SEE ALSO
selinux(8), rsync(1), chcon(1), setsebool(8), semanage(8)
dwalsh@redhat.com 17 Jan 2005 rsync_selinux(8)