Date: Wed, 15 Mar 2000 18:15:30 +0100 From: andreas.klemm.ak@bayer-ag.de To: " - *freebsd-isp@freebsd.org" <freebsd-isp@freebsd.org> Subject: how to get .logout evaluated, when using remote copy (rcp) Message-ID: <0006800021652959000002L092*@MHS>
next in thread | raw e-mail | index | archive | help
Hi ! Want to save my cisco router configs with rcp. Every router has an account of it%s own on the Unix host. This prevents overwriting of configs. If the remote user on the Unix host has csh as shell, I can make use of .cshrc, to set a secure umask (077). Now I want to make use of the .logout file to make a backup of the router config after the rcp session terminates. But .logout will not be executed. Well, I think it makes a difference for csh if you have an interactive or a remote session. Is there perhaps a way to fake something in .cshrc, to make csh think it has to execute .logout after rcp ? Andreas /// To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0006800021652959000002L092*>
