(RADIATOR) Access deny issue on fd 0 when running as non root on Linux

Markus Moeller huaraz at moeller.plus.com
Wed Feb 13 17:29:58 CST 2008


I have a problem when running Radiator on Linux (Suse SLES10) as non root together with a pam module. The module reads from fd 0 but doesn't have access to the descriptor as it is owned by root (created before the uid switch).  Is this a general Linux - Perl issue ?  

The same seems to work fine on Solaris 10.

socket(PF_NETLINK, SOCK_RAW, 9)         = 10
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
readlink("/proc/self/exe", 0xbf907d4c, 4095) = -1 EACCES (Permission denied)
readlink("/proc/self/fd/0", 0xbf90d0dc, 31) = -1 EACCES (Permission denied)
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0

Markus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.open.com.au/pipermail/radiator/attachments/20080213/8bdaf25b/attachment.html>


More information about the radiator mailing list