Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 1997 23:18:54 -0800 (PST)
From:      Mark D Smith <msmith@revolution.3-cities.com>
To:        freebsd-questions@freebsd.org
Subject:   rdump problems with ksh
Message-ID:  <199702100718.XAA04071@revolution.3-cities.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702100718.XAA04071>