[sudo-users] sudo problems with internal shell command

Justin T Pryzby justinpryzby at users.sourceforge.net
Wed Feb 10 16:15:47 EST 2010


On Wed, Feb 10, 2010 at 01:05:11PM -0800, Jeff Makey wrote:
> >This works fine:
> >sudo su - -c 'echo disable > /proc/acpi/ibm/bluetooth'
> >
> >Anyway to solve it ?
> 
> That *is* the solution.
Preferably with only one suid executable:
	sudo sh -c 'echo disable >/proc/acpi/ibm/bluetooth'

Justin



More information about the sudo-users mailing list