LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-04-2005, 12:52 PM   #1
thinkgeek
LQ Newbie
 
Registered: Jun 2005
Posts: 15

Rep: Reputation: 0
Command and Unix help


I am writing a service script which should respond as soon as the user logs into the system (i.e. at the time of user authentication). My script should be smart enough to know who is logging in and respond immediately and accordingly.

I want to know is thhere any command or any file or else which feature of Unix will help me to do so.

thinkgeek
 
Old 07-04-2005, 01:36 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Tribblix, Ubuntu/WSL
Posts: 9,767

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
Have a look at PAMs (Pluggable Authentication Modules):

http://docs.sun.com/app/docs/doc/816...aosrjip?a=view

http://www.kernel.org/pub/linux/libs/pam/
 
Old 07-04-2005, 02:41 PM   #3
thinkgeek
LQ Newbie
 
Registered: Jun 2005
Posts: 15

Original Poster
Rep: Reputation: 0
I want it on a NIS server

I want to implement it on a NIS server and will the pam modules work over NIS.
I doubt...
 
Old 07-05-2005, 02:24 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Tribblix, Ubuntu/WSL
Posts: 9,767

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
PAM modules are used whatever the underlying authentication method
used, NIS included.

Please clarify your full requirements.
 
  


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
How The Unix OS translate the shell command flavor Programming 4 10-25-2005 01:02 PM
Is exp an Unix command? gopikrish Linux - Newbie 4 12-13-2004 02:19 AM
unix command to linux command leonidas Linux - General 1 09-10-2004 01:40 AM
scripting the unix command script lmcthbe Linux - General 7 05-28-2003 03:49 PM
SQLplus command editor under UNIX - how?? stephstellar Programming 5 05-27-2003 09:49 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration