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

Mike McCauley mikem at open.com.au
Wed Feb 13 21:00:01 CST 2008


Hello Markus,

This looks like a Linux issue. We have not seen this before.
I wonder if its something specific to SLES?

Cheers.


On Thursday 14 February 2008 09:29, Markus Moeller wrote:
> 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

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
Phone +61 7 5598-7474                       Fax   +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP etc on Unix, Windows, MacOS, NetWare etc.

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list