Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!samsung!usc!ucla-cs!elroy.jpl.nasa.gov!decwrl!shelby!daemon From: lane@sumex-aim.stanford.edu (Christopher Lane) Newsgroups: comp.sys.next Subject: re: Bugs and Problems Message-ID: <1324@shelby.Stanford.EDU> Date: 12 Mar 90 16:37:28 GMT Sender: daemon@shelby.Stanford.EDU Lines: 24 > Now, I know this is supposed to emulate the Mac's trash-can icon > service, but after a log-off, the "Hole" should be considered wasted > and the files purged. If you really want this to be the 'defined' behavior on your system, you can add something like 'rm -rf ~/.NeXT/.NeXTtrash/*' to /etc/logout.std (assumes of course that most users use 'csh' or some shell that executes 'csh's default files). > -- Terminal/Shell have a bug in that they don't properly update utmp or > wtmp. If you issue "finger" on a system where a user has just logged off, > it will show that user still logged in AND owning a pseudo-terminal! The best solution to the wtmp/utmp/lastlog problems I've found so far is: a) run the MOTD application as a LoginHook along with its matching LogoutHook b) ignore the advice in MOTD's README file about Terminal's 'setuid' bit c) run Eric Scott's 'ghostbuster' utility from 'cron' hourly this not only fixes the problems you mentioned but goes a long way to making 'last' provide information that you can use to evaluate machine utilization. - Christopher -------