Xref: utzoo comp.unix.admin:104 comp.unix.shell:139 Path: utzoo!utgpu!watserv1!watmath!att!occrsh!uokmax!apple!usc!cs.utexas.edu!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.admin,comp.unix.shell Subject: Re: Logging a User Off Message-ID: <1990Sep12.014439.1973@virtech.uucp> Date: 12 Sep 90 01:44:39 GMT References: <1990Sep11.173008.274@mccc.uucp> Reply-To: cpcahil@virtech.UUCP (Conor P. Cahill) Organization: Virtual Technologies Inc., Sterling VA Lines: 13 In article <1990Sep11.173008.274@mccc.uucp> pjh@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