From owner-freebsd-questions Sun Feb 9 23:22:53 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA15344 for questions-outgoing; Sun, 9 Feb 1997 23:22:53 -0800 (PST) Received: from revolution.3-cities.com (msmith@revolution.3-cities.com [204.203.224.155]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA15337 for ; Sun, 9 Feb 1997 23:22:49 -0800 (PST) Received: (from msmith@localhost) by revolution.3-cities.com (8.7.4/8.7.3) id XAA04071 for freebsd-questions@freebsd.org; Sun, 9 Feb 1997 23:18:54 -0800 (PST) From: Mark D Smith Message-Id: <199702100718.XAA04071@revolution.3-cities.com> Subject: rdump problems with ksh To: freebsd-questions@freebsd.org Date: Sun, 9 Feb 1997 23:18:54 -0800 (PST) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Greetings, I'm still having problems with rdump. I have a link to rmt in my /etc direcory, and I've attached (text only, not mime) the output from rsh env and the /etc/profile and the modes for /etc/rmt. Anyway, I still get ksh: rmt: not found. If I change my default shell to csh then it works. So, how do I get ksh to get /sbin into it's path when called via rsh?!? Thanks root$ ls -aFql /etc/rmt lrwxr-xr-x 1 root wheel 13 Feb 9 22:38 /etc/rmt@ -> /usr/sbin/rmt root$ rsh mark env _=/usr/bin/env PATH=/usr/bin:/bin SHELL=/usr/local/bin/ksh USER=root HOME=/root root$ cat /etc/profile # System-wide .profile file for sh(1). # Uncomment this to give you the default 4.2 behavior, where disk # information is shown in K-Blocks BLOCKSIZE=K; export BLOCKSIZE (snippage) PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games export PATH VISUAL=vi export VISUAL