# [EMAIL PROTECTED] / 2002-10-30 13:16:10 -0500:
> I am attempting to create a simple user shell executable which will
> execute a root command.
>
> su root killall squid
>
> requests root's password, and then issues a;
>
> killall: /usr/bin/killall: cannot execute binary file
>
> while killall executes by root no problem.
> Any idea what's going on here?
it's not documented particularly well, only in the EXAMPLES section
of su(1):
su root -c "killall squid"
--
If you cc me or take the list(s) out completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message