LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2005, 10:31 PM   #1
thinkgeek
LQ Newbie
 
Registered: Jun 2005
Posts: 15

Rep: Reputation: 0
Question 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.
 
Old 07-08-2005, 07:51 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SUSE 9 and 10 NIS clients with RedHat 8.0 NIS server not working fishsponge Linux - Networking 0 11-29-2005 07:43 AM
how to join NIS server (SUN machine) to Linux NIS server? KoRiR Linux - Networking 3 04-28-2004 01:19 PM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Security 2 03-31-2004 12:43 PM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Solaris / OpenSolaris 1 03-31-2004 06:10 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Linux - General 1 03-31-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration