home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / sysadmin / 4810 < prev    next >
Encoding:
Internet Message Format  |  1992-08-22  |  1.3 KB

  1. Xref: sparky comp.sys.next.sysadmin:4810 comp.sys.next.misc:18894
  2. Newsgroups: comp.sys.next.sysadmin,comp.sys.next.misc
  3. Path: sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!lemson
  4. From: lemson@ux1.cso.uiuc.edu (David Lemson)
  5. Subject: LogoutHook question
  6. Message-ID: <BtEpMC.L5E@ux1.cso.uiuc.edu>
  7. Organization: University of Illinois at Urbana
  8. Date: Sat, 22 Aug 1992 22:39:34 GMT
  9. Lines: 16
  10.  
  11. I know that if a LoginHook exits with a 0, the login proceeds
  12. normally.  If it exits with a 1, then the login kicks back out to
  13. the prompt.
  14. I want to do the same sort of thing with LogoutHook.  If I exit the
  15. LogoutHook program with a 1, I want it to dump the user back into
  16. the workspace, not letting them log out.  I tried it, and it doesn't
  17. work.  Anyone have any idea how I might do this? (something
  18. undocumented?)
  19. BTW, in case you're wondering why I don't want to let the user log
  20. out, it's because I want to force them to go back and reduce their
  21. disk usage before they log out. 
  22. -- 
  23. David Lemson                                                 (217) 244-1205
  24. University of Illinois NeXT Campus Consultant  / CCSO NeXT Lab System Admin
  25. Internet : lemson@uiuc.edu                 UUCP :...!uiucuxc!uiucux1!lemson 
  26. NeXTMail accepted                                   BITNET : LEMSON@UIUCVMD
  27.