To copy a file to a remote workstation, you must ensure that the receiving workstation is configured for such a task.
If you copying a file to the root directory, ensure that the /.rhosts file is properly populated. Bear in mind that the login directory for the root account could be set to something else other than /, so check your /etc/passwd file to verify. Suppose I wanted to copy /etc/default/login to another workstation.
On remote workstation:
#vi /.rhosts
remote_workstation root
:wq! (saves and quits)
On local workstation:
#rcp -p /etc/default/login remote_workstation:/etc/default
This blog covers Unix system administration HOWTO tips for using inline for loops, find command, Unix scripting, configuration, SQL, various Unix-based tools, and command line interface syntax. The Unix OS supports tasks such as running hardware, device drivers, peripherals and third party applications. Share tips/comments. Read the comments. But most importantly: Read Disclaimer - Read Disclaimer.
No comments:
Post a Comment