LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-06-2005, 08:09 AM   #1
thinkgeek
LQ Newbie
 
Registered: Jun 2005
Posts: 15

Rep: Reputation: 0
Question Starting scripts at startup in NIS clients


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-07-2005, 06:53 AM   #2
PDock
Member
 
Registered: Aug 2004
Distribution: Slack10 & curr. tried numerous
Posts: 189

Rep: Reputation: 37
Quote:
and I want this script to get started when any NIS user login in the NIS server.
Either I do not understand what your saving here or you have a misconception of NIS. On your NIS-server you have a passwd file which I assume you are mapping. This file is used to authorize users who ssh/telnet into the NIS-server or actually sit at a NIS-server console. Presumably your script is running for all of the above cases.
Quote:
I had made an entry in /etc/profile but it is not getting started when user is login through NIS clients
On another computer you have added +:::::: to that computer's passwd file such that the mapped NIS passwd file is appended to this file. This enables 'NIS users' to log in to THAT computer. Thus your script must be installed on that computer also.
ppd
 
  


Reply



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
NIS and Linux Clients Quicksil *BSD 0 03-19-2004 08:25 PM
Some rc.d Scripts Not Starting granatica Linux - Software 4 03-17-2004 05:07 PM
NIS problems: clients not able to use NIS served information SparceMatrix Linux - Networking 2 03-11-2003 10:40 PM
X Startup Scripts JHuizingh Linux - General 1 09-18-2001 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:31 PM.

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