usage management issue

Dear experts

I am system administrator in a management institute and here all together 124 windows xp desktop working, I had installed rad hat linux 9.0 for proxy server, and i configure Ncsa user authintication now i want to implement one more thing. I want to give 20hrs for every user, I mean every user can access net maximun 20 hrs per week. Is there any software available for that?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I never heared of such software. You need to write your own or customize existing.
Moreover, user authentication on proxy has a drawback. It doesn't allow your users
to authenticate against external site having such kind of authentication.

It's not impossible to implement such kind of control mechanism, but it requires time and programming knowledge.
Gabriel OrozcoSolution ArchitectCommented:
Nopius: ncsa_auth is an authentication module for squid, that uses your webserver .htaccess for authentication. It's not a program on it's own right now. However, it's based on NCSA Mosaic, the first web browser and server.

ranadistar: yes, you can do this. there is radius authentication modules for squid, and as I have read by now, radius can do this kind of accounting (I suppose using databases and some scripting for accounting, but haven't tested it myself yet)

however, use of RedHat 9.0 is not a good idea (I'm guessing. Linux 9.0 des not exists yet. but RedHat 9 and SuSE 9 yes)
use a supported distro so you are feeded with patches from current packages. this is necessary for security. I would go for CentOS 4.x at

happy linuxing
Redimido, you right. That's why this authentication cannot be used twise (first time on squid and second on host that uses that kind of authentication), because authentication informaion is passed via single HTTP header line and once authenticated on 'remote' site, local authentication is lost.

About RADIUS, it doesn't allow to stop access for given user once authorization has been passed. Suppose you have 10 minutes left this week. Once logged in you may work unlimited amount of time.

ranadastidarAuthor Commented:
dear friends thanks for your comments, I want more idea about that, I notices some cyber cafe use some software where they give some key number for using internet, suppose if u want to access net for 1hr they provide u one key number and when you open a web browser and try to accessing some site it prompt u the key number and when u enter that number u can access the net but for 1hour only. So I think there should be some software available for that, I mean proxy server as well as any database module should use for that, I mean proxy authincation as well as database integration, any more idea about that?
Gabriel OrozcoSolution ArchitectCommented:
there is software for cybercofee control, like

however, to do what you are asking requires some dynamic control connected with squid proxy so it can create a dynamic rule to block usage when time limit has reached.

I can only think of iptables to do things dynamically...

this is the propossal of someone at the squid email list:

okay. I surfed for some projects about time limit users in squid. maybe this one is what you're looking for:

happy linuxing

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Fonts Typography

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.