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

Notices


Reply
  Search this Thread
Old 07-14-2005, 04:32 PM   #1
el_pajaro!
Member
 
Registered: Sep 2003
Location: Ecuador
Distribution: Debian, Ubuntu, Elastix
Posts: 183

Rep: Reputation: 30
nis or ldap? and other questions for a cyber cafe


I have an small cyber cafe with 6 machines using debian sarge. I use a software call cybermin to control de access to the computers. This software is no that good and I want something more automatic.

My idea is that I can create several users on the network and I would use nis or openldap to centralize this information. So my clients would be available to login from any computer with the same username and password.

After I do this I want to control the time of the users. I was thinkin tu use the .login and .logout scripts of the shell (just guessing the names of the scripts). So when the user logins a timer would start and while this timer is diferente than 0 the user can still login. If the timer is equal to 0 no more credit he would have to buy another card or rechard the one he is using.

I would also would like to have a timer on the screem, I would preffer to have it on a panel.

This are just ideas that I have to automatize my cyber cafe. The idea is that it can work with out me, and there would be someone selling the pre pay cards so my clients can use the computers.

Any recomendation, I would start playing with nis tomarrow. Hope to hear from you.

Greetings
 
Old 07-14-2005, 04:51 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Either NIS or LDAP will work fine for this, I think. With LDAP you *might* be able to store the time amounts in the same database as well. Otherwise, a tiny MySQL database can store this information, but that might make things a tiny bit more complex. This actually sounds like a really interesting project (though, to you, I'm sure it's "just business"). Centralized authentication definitely makes sense.
 
Old 07-14-2005, 09:16 PM   #3
el_pajaro!
Member
 
Registered: Sep 2003
Location: Ecuador
Distribution: Debian, Ubuntu, Elastix
Posts: 183

Original Poster
Rep: Reputation: 30
It is an intresting project and it would help me a lot on the cyber. I have to investigate a lot, but it is allways nice to learn.

Thanks a lot for the comments
 
Old 07-14-2005, 10:15 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Feel free to get in touch with me (and, of course, anyone on this forum) if you run into problems, but I'd love to see how this turns out. System administration issues are my favorite, lol.
 
Old 08-18-2005, 12:22 PM   #5
el_pajaro!
Member
 
Registered: Sep 2003
Location: Ecuador
Distribution: Debian, Ubuntu, Elastix
Posts: 183

Original Poster
Rep: Reputation: 30
nis ready

So I have setup nis now on my debian sarge network and I have centralize the login.

Now I would like to do the time control.

1) I want to save the time that the user has left. (can be mysql)
2) I want to have a timer in a panel of the gui. (I am using gnome)
3) I would like to pop-up windows when there is a small amount of time left.
4) Logout when the left time is 0

Would you recommend any programing language?
How can I make the gui? (pretty simple)

Greetings and back to google
 
  


Reply


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
Any application that monitors usage time just like in cyber cafe? Niceman2005 Linux - Software 0 10-27-2005 08:44 AM
Can Linux do this in Cyber Cafe with such Spec?? seow_ming Linux - Networking 14 09-03-2005 02:45 AM
what Linux cyber cafe management software is out there? eantoranz Linux - Software 1 02-10-2005 07:48 PM
LDAP and NIS Dark_Helmet Linux - Networking 3 11-29-2004 02:46 PM
LDAP server or NIS? beginner16 Linux - Newbie 0 11-27-2003 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:12 AM.

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