On Sun, 25 Oct 2020 05:04:38 -0400,
J. Roeleveld wrote:
> 
> On Saturday, October 24, 2020 11:05:45 PM CET the...@sys-concept.com wrote:
> > If I login from the command "ifconfig" now works from command line at
> > the terminal but if I login over "ssh", "ifconfig" is not working only
> > "/bin/ifconfig"
> > 
> > I was thinking it is the option in sshd_config: PermitUserEnvironment
> > but enabling it didn't help.
> 
> Which USE-flags did you use for ssh?
> 
> # eix net-misc/openssh
> 
> should provide this.
> 
> Also, do you have the following in your sshd_config:
> 
> " UsePAM yes "
> 
> This is normally used to configure the environment as well.

The simplest thing is to change your path environment variable in your
.bashsrc so its always the same, no matter what the user is, that
would solve your problem.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         cov...@ccs.covici.com

Reply via email to