On Tue, 5 Feb 2002, Naren Devaiah wrote:

> Write a script to do what you want and make this script the login
> shell of the user. If the user passes your test, exec a regular shell
> (bash/ksh/csh/whatever) to allow him to continue. Else display a
> message and exit (effectively login the user out).

It may be better to write a pam module that does this instead.  Read the 
pam documentation for more info.

-- 
I know engineers.  They love to change things.
- Dr. McCoy


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to