Discussion Locked

The ioperm in Linux

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Greetings,

Is it posible without the recompile
the kernel to give access ioperm operation to
"human" kind users (not root) ? I tryied to
get the root access with setruid function,
but without success. I need to get access to
LPT port and my java program should work with
standart user's permissions. HELP PLEASE !

7 replies

by rokis

thanks for advise, but I still would
like to use assembler code, because it
can give me more power : for expl. I
need to set my LPT port bidirectional
and to program others features of LTP
controller. So, I think it is possible
to get root access with setruid
function, when the file has "effective"
UID set to root. I tryied, but without
success. It is really possible, but from
man pages it is difficult to catch the
things.

by sudhakaran_c

hi,
actually we r trying with the same option to use the serial port with assembler try to use the /dev/ files

This discussion is closed to new replies.