LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NIS server help! (https://www.linuxquestions.org/questions/linux-newbie-8/nis-server-help-340793/)

thinkgeek 07-06-2005 10:31 PM

NIS server help!
 
I have written scripts which I want to get started at user login for all normal users. I have setup
a NIS server and I want this script to get started when any NIS user login in the NIS server.

I had made an entry in /etc/profile but it is not getting started when user is login through NIS clients. For local logins it is getting started properly.

I had also tried doing it through pam modules but the same problem. It is running properly for local users but not working over NIS users.

Kindly explain and please help.

btmiller 07-08-2005 07:51 PM

You mean you want the script to run on the NIS server when someone logs in to a client machine? Hmmm ... I'm not sure if that's even possible out of the box. You may need to hack PAM or libnss to allow them to call a script on the server. You may just want to put something in /etc/profile that records whatever info you need for later processing.

Why do you need to do this?


All times are GMT -5. The time now is 10:22 AM.