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
configure
file does not load bymakefile
of mine rsh. - May be it does not load
MCONFIG
,MRULES
in makefile.
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.