Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-14-2003, 01:06 PM   #1
Darick Ang
LQ Newbie
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
How to detect samba users when trying to shutdown linux server


I have setup a linux server with 15 workstation (windows 98 os). when i try to shutdown the server after working hour, it will straight away down the server without warn me files are still using by workstation. is there any way i can detect that ? or is there anyway i can see the user activity from linux server ? i'm using RedHat 9.0

from Darick
Old 07-14-2003, 01:44 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Look at smbstatus.
Old 07-14-2003, 04:37 PM   #3
Registered: Jul 2003
Location: Florence, Ky
Distribution: CentOS 3.3-4, OpenBSD 3.3, Fedora Core 4, Ubuntu, Novell Open Enterprise Server
Posts: 213

Rep: Reputation: 30
Why do you shut down the server after working hours? Why don't you just run samba through xinetd. With xintetd, you can restrict access by time if you want.

A great tutorial on configuring everything in xinetd (except time restrictions) is here:,1

Just add something along the lines of:
access_times = 11:30-13:00 17:30-09:30

This will restrict access during lunch and from 5:30 to 9:30 in the morning

You should also check out this site:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Users can save to Linux Suse 8.2 using Samba 2.2.7a-58 pompiang Linux - Newbie 4 09-26-2004 10:47 PM
howto detect shutdown in progress? gw1500se Mandriva 0 04-25-2004 02:00 PM
how to open port for Linux Samba for windows users 12345671 Linux - Security 6 03-08-2004 03:42 AM
using 2000 Server to authenticate users for Samba sharkcohen Linux - Networking 8 11-24-2003 07:57 AM
how can I remote shutdown other WinNT server from Linux Server? adelel Linux - Networking 2 01-06-2002 01:21 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:45 AM.

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