LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-21-2010, 03:06 AM   #1
krishnakant
LQ Newbie
 
Registered: May 2009
Location: Chennai
Distribution: CentOS, RHEL and fedora
Posts: 22

Rep: Reputation: 0
How can I set a log off scripts for samba domain users


Hi Folks,

I want to set a log off script for samba domain users. Actually I am facing a huge temp files related problem. So I want to set a batch file which will run when domain user log off. When user logout then batch file run and delete all temp files.

I have already set batch file local group policy and it works for me, but I wants to set it from server side.


Thanks in Advance......

Krishna Kant
Linux System Engineer
 
Old 09-21-2010, 03:26 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Have a look at postexec option in man page.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba without domain and users with domains cannot log in to the shares Maverick2k Linux - Server 2 04-08-2009 06:41 AM
Domain users can't log on to NAS share smithd3 Linux - Server 0 09-27-2007 11:31 AM
cant log onto my samba domain rtg2001 Linux - Networking 7 08-19-2004 07:13 PM
cannot log-on to domain samba-windows dazzyboi Linux - Networking 2 08-04-2004 01:15 PM
Samba: Domain logons automatically log off apocow Linux - Networking 0 08-29-2003 04:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration