Bug#298985: libc6-dev: ruserok failes when hosts.equiv and .rhosts are symlinks
At Thu, 10 Mar 2005 15:11:06 -0800,
Ryan Lovett wrote:
> I don't know if this is intentional, but if /etc/hosts.equiv or .rhosts
> are symlinks, ruserok fails. Moving the target of the link into place
> causes ruserok to succeed.
ruserok() does not accept when it's not regular file.
> ruserok also succeeds if hard links are used.
ruserok() should be failed when hard links are used. I guess this
behavior is not related with ruserok(). Could you confirm it using
strace or ltrace?
> Symlinks are fine on Solaris.
The behaivor of ruserok is OS-dependent, so Solaris is not related
with this report.
Regards,
-- gotom
Reply to: