<br>
<div>Hi</div>
<div>Actually I was working on very basic PAM stuff</div>
<div>I need to know how is this session mgmt working</div>
<div>Once i successfully authenticate a user, and call pam_open_session() it returns a PAM_SUCCESS (I am included sess required pam_unix.so in my config file)</div>
<div>but I want to exploit this further. i heard of pam_mount but dont know how to use it.</div>
<div>So say once pam_opn_session is successful what can i do with it. Like suppose i make a remote login kind of stuff. Now user is authenticated and wants to see his files in his Home folder. So suppose i have this option of running a command 'pwd' remotely. this i ran using passthru in PHP( i used this for server side scripting. Web server used was Apache).So it gives me the working directory of public_html whereas i wanted the directory to be /home/<username>. how should I do it. I mean should I make changes in config file or assign some permissions or load some module like mount. I couldnt get much documentation on mount 
</div><span class="sg">
<div> </div>
<div>varun </div></span>