|
|||||||||||
|
Re: /sys/power/state question with sudoers!
From: Ken Irving <fnkci(at)uaf.edu>
Date: Sun Aug 19 2007 - 13:53:20 EDT
I'm probably misunderstanding something (not sure what the OP's question was), but my point was just that you can prevent someone from running sh in the first place -- i.e., they wouldn't be able to do the above operation. Any command/program that is allowed to be run under sudo could be misused if it allows the user to run a shell from within that program. I don't have much experience with using sudo to *carefully* grant privileges to untrusted users, but I would think one could put something like the above in a script which the user is allowed to run (as I think someone else may have suggested). Ken -- Ken Irving, fnkci+debianuser@uaf.edu -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Sun Aug 19 13:55:06 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 02:27:21 EDT |
||||||||||
|
|||||||||||