batch before logout

David Bannon D.Bannon at latrobe.edu.au
Tue Sep 21 23:29:59 GMT 1999


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