Anton Graham wrote:
>
> Bash is /bin/bash not /usr/bin/bash. Furthermore if you dislike the
> exclusion of the /usr/bin directory from the default path, you can always
> add it to the relevent configuration files. Also, try using an explicit
> path to reach /usr/bin/tcsh (and why is it in /usr/bin? It installs by
> default as /bin/tcsh)
>
> (%:~)- which tcsh
> /bin/tcsh
> (%:~)- rpm -qf $(which tcsh)
> tcsh-6.08.00-9mdk
>
Of course bash and tcsh are in /bin, but /etc/csh.cshrc calls
commands (ex test ) which are in /usr/bin/, doesn't find them because
the directory is unreadable, and crashes. If I (as a normal user) type
'which test' at a bash prompt, I get the "/usr/bin/test", if I type the
same thing at the tcsh prompt I get "command not found".
The only explanation I can give of this is that /bin/bash is suid root,
and /bintcsh is not.
Please correct me if I'm wrong, or explain the reason for such setup if
it
is so.
TIA,
Marco Fioretti
Keep in touch with http://mandrakeforum.com:
Subscribe the "[EMAIL PROTECTED]" mailing list.