30 May 2002 evilrobots   » (Observer)

Each remote machine may have a file named /etc/hosts.equiv containing a list of trusted hostnames with which it shares usernames. Users with the same username on both the local and remote machine may run rsh from the machines listed in the remote machine's /etc/hosts file. Individual users may set up a similar private equivalence list with the file .rhosts in their home directories. Each line in this file contains two names: a hostname and a username separated by a space. The entry permits the user named username who is logged into hostname to use rsh to access the remote machine as the remote user. If the name of the local host is not found in the /etc/hosts.equiv file on the remote machine, and the local username and hostname are not found in the remote user's .rhosts file, then the access is denied. The hostnames listed in the /etc/hosts.equiv and .rhosts files must be the official hostnames listed in the hosts database; nicknames may not be used in either of these files.

tar czvf /dev/tapes/tape0/mt etc usr/local/bin
root/src 
home/oracle/817/precomp/admin/*cfg
home/oracle/product/precomp/demo/proc
home/oracle/product/plsql/demo home/httpd/html
home/httpd/cgi-bin home/httpd/servlets/*java home/httpd/reports
rmsprod: date; tar cvf /dev/rmt/0 /oracle /backup/obk /export/home; du -s /oracle /backup/obk /export/home; date; tar xvf ... /dev/rmt/0 `tar tf ... /dev/rmt/0 |grep 'pattern'`;

Latest blog entries     Older blog entries

X
Share this page