batch before logout

Matthew Miller mmiller at vermeermfg.com
Wed Sep 22 12:22:52 GMT 1999


For Windows there is a shareware solution.  Courtesy of Lockergnome, take a
look at LastChance:
Product Info:
 http://www.fileware.com/products.htm
Download
 http://209.95.106.186/public/lchance.exe
Freeware isn't always what it's cracked up to be, but you might want to give
it a try...

Matt Miller

David Bannon wrote:

> At 09:21 PM 21/09/1999 +1000, Cord-H. Fricke wrote:
> >Hi there,
> >
> >is there a possibility to run a batch file before logging off an NT -
> >WS?
>
> Do you mean a batch file on the NT or a script file in the unix server ?
>
> If the latter, its easy :
> [homes]
>       guest ok = no
>       ....
>       root postexec = /usr/local/sbin/setprofile %u -K
>
> In my case, the binary, "setprofile" deletes to user's profile after they
> log off.
>
> To run an NT (ie dos) batch file looks a bit harder, after logoff the
> machine is 'sort of' not running, just waiting for another logon.
>
> David
>
> ------------------------------------------------------------
> David Bannon                      D.Bannon at latrobe.edu.au
> School of Biochemistry            Phone 61 03 9479 2197
> La Trobe University, Plenty Rd,   Fax   61 03 9479 2467
> Bundoora, Vic, Australia, 3083    http://bioserve.latrobe.edu.au
> ------------------------------------------------------------
> .... Humpty Dumpty was pushed !



More information about the samba-ntdom mailing list