Or maybe /usr/binis not in your tcsh path? It should be able to call
then explicitly. Bash should not be suid, which would be a very big risk
!! Have you checked the permissions on bash??

Buchan

Marco Fioretti wrote:
> 
> 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.

-- 
|--------------------------------------------------------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone                                           +27824722231
email                               mailto:[EMAIL PROTECTED]
Centre for Automotive Engineering       http://www.sun.ac.za/cae
South Africas first satellite:        http://sunsat.ee.sun.ac.za
Control Models                          http://www.control.co.za
|----------------Registered Linux User #182071-----------------|

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to