On 15 Apr, Louis Selvon wrote:
> > bash-2.04$ /usr/bin/crontab -e
> > bash: /usr/bin/crontab: No such file or directory
> > bash-2.04$
>  
>  >I would be concerned about this not running.
>  
>  >As root can you see crontab in the /usr/bin directory
>  
>  >ls -l /usr/bin/crontab
>  
>  >what are the permissions on the file?
>  
>  [root@ensim admin]# which crontab
>  /usr/bin/crontab
>  [root@ensim admin]# cd /usr/bin
>  [root@ensim bin]# ls -al crontab
>  -rwsr-xr-x    1 root     root        21312 Mar  9  2001 crontab
>  [root@ensim bin]#
>  
>  But why can admin user as well see crontab, but normal users cannot ??

That sounds a little like /usr/bin/crontab is not executable due to
problems in shared libraries or ldconfig version.

What happens if you say:

        ldd  /usr/bin/crontab

I get:
        libc.so.6 => /lib/i686/libc.so.6 (0x40031000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

You could also try:

        strace /usr/bin/crontab -l

and see what kind of errors happen near the end.

luke

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to