LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 07-14-2005, 05:32 PM   #1
el_pajaro!
Member
 
Registered: Sep 2003
Location: Ecuador
Distribution: Debian, Ubuntu, Elastix
Posts: 182
Thanked: 0
nis or ldap? and other questions for a cyber cafe


[Log in to get rid of this advertisement]
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
el_pajaro! is offline     Reply With Quote
Old 07-14-2005, 05:51 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: Atlanta, GA
Distribution: Ubuntu
Posts: 8,347
Thanked: 13
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.
Matir is offline     Reply With Quote
Old 07-14-2005, 10:16 PM   #3
el_pajaro!
Member
 
Registered: Sep 2003
Location: Ecuador
Distribution: Debian, Ubuntu, Elastix
Posts: 182
Thanked: 0

Original Poster
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
el_pajaro! is offline     Reply With Quote
Old 07-14-2005, 11:15 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: Atlanta, GA
Distribution: Ubuntu
Posts: 8,347
Thanked: 13
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.
Matir is offline     Reply With Quote
Old 08-18-2005, 01:22 PM   #5
el_pajaro!
Member
 
Registered: Sep 2003
Location: Ecuador
Distribution: Debian, Ubuntu, Elastix
Posts: 182
Thanked: 0

Original Poster
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
el_pajaro! is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 12:46 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration