[ILUG-BOM] I/O ports access for normal users?

Rahul Saxena rahulsaxon@[EMAIL-PROTECTED]
Sat Jan 19 07:59:03 IST 2002


hi everyone, 

I was tryign to read/write bits to 0x378 I/O port,
using the ioperm() system call.
But this allows only the root to access. 

HOw do normal users access the port? 
i did read about SETUID(), but i dont really
understand how it works for me ?? 

does anyone have any pointers on this ?? 

Also i am trying to uderstand how ot access using read
and write. for that i would need to add the user as
part of the group, which can access /dev/port. 

How do i add myself to the group? i guess.. in that
case i wont be in my original group. 


Thanks for reading 

-rahul 

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



More information about the Linuxers mailing list