-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> (10.30.2002 @ 1016 PST): David Banning said, in 0.4K: <<
> I am attempting to create a simple user shell executable which will
> execute a root command.
> 
> Executing;
> 
> 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?
>> end of "question on su use" from David Banning <<

you can try su root -c killall squid
or you can use sudo ::)

- -Adam


- --
Adam Weinberger
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE9wCl2o8KM2ULHQ/0RAnLIAJ9mAyb7Zyc0tFdKrga/PFjI1d18gwCg1/5Z
LYVvkjUIGlOAHX/YiNWGK6U=
=edqO
-----END PGP SIGNATURE-----

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to