[COLUG] bypassing CAP_SYS_ADMIN for device access

Rick Troth rmt at casita.net
Wed Jan 17 00:56:16 EST 2007


Someone wrote a driver that I need to use
and it employs a CAP_SYS_ADMIN test.  Basically, if you're not root,
you cannot access the device file.  A competing driver does not use this
with the result that the usual Unix methods of permitting access work.
(eg:  I can chgrp the device file and chmod it with group R/W,
but this does not work for the CAP_SYS_ADMIN driver.)

Does anyone on the list know how I can get around CAP_SYS_ADMIN?

Thanks.

-- R;



More information about the colug432 mailing list