Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Redhat / Fedora Linux Help > Time logging xp users

Forgot Password?
 Redhat / Fedora Linux Help   Help and discussion related to Redhat and Fedora Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 09-01-2006   #1 (permalink)
Just Joined!
 
Join Date: Aug 2006
Posts: 3
Talking Time logging xp users

We have a bunch of xp machines connected to a fedora server acting as pdc. I want to restrict users to different amounts of time per day, and so far have netlogon and logoff scripts running that update a perl script on the server loggin the logon and logoff.

This script in turn updates how many hours they have used. What I want now is a way of kicking the loggin out the users from the xp machines if they reach there time limit...the way I thought to do this is have a perl script running every minute (from cron) that checks there time left against a database. If they have reached there time limit it runs a remote script on the xp machine that logs them out and the disables there account.

Am I thinking along the right lines or am I barking up completely the wrong tree? I just can't think of a more elegant solution....any suggestions welcome
Aaron Morris is offline  


Reply With Quote
Old 09-02-2006   #2 (permalink)
Just Joined!
 
Join Date: Jul 2006
Posts: 28
Sounds like you either are running an internet cafe or have kids that only get to play computer if they do their chores
foxtrot77 is offline   Reply With Quote
Old 09-02-2006   #3 (permalink)
Just Joined!
 
Join Date: Aug 2006
Posts: 3
Aye its for a small internet/gaming cafe.

Progressing quite well, I have written a small c# server that runs on each xp machine and waits for a connection. The perl script on the server then uses a socket connection to the xp server when it needs to shutdown the machine, which in turn calls the xp command line shutdown command.

Have to see how its stands up to rigerous testing.
Aaron Morris is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:41 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2