Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i think you need to give lots more information....
when a user logs off? how are they logging off? you mean logging out of a desktop environment like kde, or from a shell? you mention samba, perhaps you mean when a windows user logs off?
if your just looking for a basic shell script to run when someone logs out, then most (if not all) shells have this. your distro appears to be fc3, so you should be using bash as your shell, bash will execute .bash_logout when a login shell exits. its just a basic shell script and sounds like what you mean, but again, you need to give more information about what type of logout you want to control.
Make sure you've set it up properly, and you should be able to use "logon script = (value)" and "logoff script = (value)". I don't have my Samba 3 manual with me, but I'm 95% sure that's how it is done. [edit]I'd highly suggest a Samba manual if you're running Samba as a PDC. It can do many, many cool things and seems to integrate very well into an NT/2000 environment.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.