Brendan Gregg, who contributes to this mailing list wrote a Perl
program which he calls zcp. |
# USAGE: zcp file1 zonename:file2
# zcp /etc/syslog.conf workzone1:/tmp
If you would like a copy, please let me know.
[EMAIL PROTECTED] wrote:
Does anyone know how to get rsh working on zone2? I can zlogin to both zone1 and zone2 ok.xc12p11-b1# zoneadm list -cv ID NAME STATUS PATH BRAND IP 0 global running / native shared 6 xc12p11-b1-ce0-zone1 running /export/xc12p11-b1-ce0-zone1 native shared 12 xc12p11-b1-ce0-zone2 running /export/xc12p11-b1-ce0-zone2 native shared xc12p11-b1# rsh -l root xc12p11-b1-ce0-zone2 'date' <----- Not working xc12p11-b1-ce0-zone2: Connection refused xc12p11-b1# rsh -l root xc12p11-b1-ce0-zone1 'date' Wednesday, September 26, 2007 10:04:25 AM PDT xc12p11-b1# ping xc12p11-b1-ce0-zone1 xc12p11-b1-ce0-zone1 is alive xc12p11-b1# ping xc12p11-b1-ce0-zone2 xc12p11-b1-ce0-zone2 is alive xc12p11-b1# zlogin xc12p11-b1-ce0-zone1 [Connected to zone 'xc12p11-b1-ce0-zone1' pts/10] Last login: Wed Sep 26 10:08:05 from xc12p11-b1 Sun Microsystems Inc. SunOS 5.10 Generic January 2005 # hostname xc12p11-b1-ce0-zone1 # date Wed Sep 26 10:17:03 PDT 2007 # exit [Connection to zone 'xc12p11-b1-ce0-zone1' pts/10 closed] xc12p11-b1# zlogin xc12p11-b1-ce0-zone2 [Connected to zone 'xc12p11-b1-ce0-zone2' pts/10] Last login: Wed Sep 26 10:03:08 on pts/10 Sun Microsystems Inc. SunOS 5.10 Generic January 2005 # hostname xc12p11-b1-ce0-zone2 # date Wed Sep 26 10:17:14 PDT 2007 # exit [Connection to zone 'xc12p11-b1-ce0-zone2' pts/10 closed] Please reply directly to me as I am not on this alias. Thanks, Lana _______________________________________________ zones-discuss mailing list email@example.com
_______________________________________________ zones-discuss mailing list firstname.lastname@example.org