Logging a User Off

Conor P. Cahill cpcahil at virtech.uucp
Wed Sep 12 11:44:39 AEST 1990


In article <1990Sep11.173008.274 at mccc.uucp> pjh at mccc.uucp (Pete Holsberg) writes:
>code of the passwd command and then exit if it's not 0.  BUT, simply
>executing "exit" doesn't abort the login; it aborts /etc/profile!  What
>can I execute to terminate the login of a user who fails to select a
>valid password?

Send a signal to process id zero (i.e. kill 0) which will send the signal
to all processes in that process group.

-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170 



More information about the Comp.unix.admin mailing list