[sudo-users] sudo problems with internal shell command
Aaron Lewis
aaron.lewis1989 at gmail.com
Wed Feb 10 08:14:35 EST 2010
Well , i got some problems with such command:
sudo echo disable > /proc/acpi/ibm/bluetooth
Permission is denied.
I think it's because 'echo' is run in shell , as normal user , then it
fails to run.
This works fine:
sudo su - -c 'echo disable > /proc/acpi/ibm/bluetooth'
Anyway to solve it ?
--
Best Regards,
Aaron Lewis
RedHat Certificated Engineer
SUPINFO UNIV.
More information about the sudo-users
mailing list