On Mon, 13 Feb 2006, Peter wrote: > > --- Damien Miller <[EMAIL PROTECTED]> wrote: > > > On Mon, 13 Feb 2006, Peter wrote: > > > > > $ ssh [EMAIL PROTECTED] /usr/local/sbin/command > > > > > > The PATH of the user (given in ~/.profile) contains /usr/local/sbin > > but > > > evidently this file remains unread. > > > > .profile is only used for interactive sessions. Try .kshrc > > Ok, so you're saying the user should change shells (from bash) to ksh?
No, I'm suggesting that, since you are using a non-default shell and since you didn't bother to mention it, you read you shell's documentation to find the equivalent to .kshrc and use that. -d