How can i call a function which is usually used by root?
Paul Black
paul+fedora at saturnine.org.uk
Tue Dec 2 13:53:56 UTC 2008
2008/12/2 Wildemar Wildenburger wrote:
> And if you absolutely have to use the device files, then you could
> always change their permissions. Not that that's recommended, just
> saying.
Changing permissions is not wise as it allows a user to bypass filesystem
permissions.
A possibility is for the OP to read up on setuid and setgid; that offers the
potential to restrict a user to what a program will allow rather than
allowing unfettered access to a device (assuming no security holes in the
application).
--
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081202/13eb4ca7/attachment-0001.htm>
More information about the fedora-list
mailing list