Logging a User Off

J Greely jgreely at morganucodon.cis.ohio-state.edu
Wed Sep 12 18:54:08 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?

I use "exec /bin/false".
--
J Greely (jgreely at cis.ohio-state.edu; osu-cis!jgreely)



More information about the Comp.unix.admin mailing list