On Wed, 2018-05-16 at 14:41 +0000, John Horne wrote:
> On Wed, 2018-05-16 at 09:43 -0400, Mark Misulich wrote:
> > Is it possible that rkhunter is installing correctly, and that
> > something that
> > gets modified in the operating system when rkhunter was installed
> > previously is now preventing the program from starting?
> > 
> 
> No.
> 
> As the 'root' user log in and type 'echo $PATH'. This will show you
> the list of
> directories that are searched for commands by the 'root' user. It
> should
> include '/usr/local/bin'.
> 
> You might also want to type in 'alias' just to see if an alias for
> the rkhunter
> command has been set up.
> 
> 
> 
> John.

Hi,
here are the readouts from the commands you asked about:

linux-2b8:/home/lx1 # echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin
linux-2b8:/home/lx1 # alias
alias +='pushd .'
alias -- -='popd'
alias ..='cd ..'
alias ...='cd ../..'
alias beep='echo -en "\007"'
alias cd..='cd ..'
alias dir='ls -l'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l='ls -alF'
alias la='ls -la'
alias ll='ls -l'
alias ls='_ls'
alias ls-l='ls -l'
alias md='mkdir -p'
alias o='less'
alias rd='rmdir'
alias rehash='hash -r'
alias unmount='echo "Error: Try the command: umount" 1>&2; false'
alias you='if test "$EUID" = 0 ; then /sbin/yast2 online_update ; else
su - -c "/sbin/yast2 online_update" ; fi'

It looks to me like usr/local/bin is not included in the directories
searched by root.

Mark


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Rkhunter-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to