I am working on a project, that uses rsh utility for remote connection.
But my project needs some extra features for that, so I add that features.
Till now, all the things are going fine. But when I take a
strace on rsh server. It shows that it opens and reads PAM modules and limits.conf.
But the rsh, that I made is not able to open and read PAM module and limits.conf.
I followed this link to check above things.
Number of calling of PAM module and all these things are exactly same in Standard rsh and mine rsh.
The reasons that I think, behind this weird behavior :-
- May be
configurefile does not load by
makefileof mine rsh.
- May be it does not load
But I didn't understand how can I confirm my doubt, and remove this problem.
I tried to use GDB debugger, but I am unable to locate where this problem occurs.
I spent a lot of time to locate where the problem is. But failed.
Please help me, or guide me in finding where the problem actually is.