Hello everyone,
TL,DL; is there a way to assign login time/duration limit?
I am currently trying to help/convince my father to use a small network of FreeBSD-based computers for his business. He is trying to offer access to computers for the visitors at his store. He wants the customers to purchase the computer hours and then use the computer for the maximum of the purchased duration, after which the user is automatically logged off with all instances of programs closed. I have seen this done quite commonly in the Windows machines in Korea for their famous PC-bangs. (basically a room/floor full of computers with central unit at the counter that controls the user login period)
Currently, the goal is to have three computers for customers with a central computer at the counter that controls each computer's login parameters.
Thin-client system is ruled out. I thought of accessing each of the user computers via ssh from central computer and use
Any assistance would be appreciated.
TL,DL; is there a way to assign login time/duration limit?
I am currently trying to help/convince my father to use a small network of FreeBSD-based computers for his business. He is trying to offer access to computers for the visitors at his store. He wants the customers to purchase the computer hours and then use the computer for the maximum of the purchased duration, after which the user is automatically logged off with all instances of programs closed. I have seen this done quite commonly in the Windows machines in Korea for their famous PC-bangs. (basically a room/floor full of computers with central unit at the counter that controls the user login period)
Currently, the goal is to have three computers for customers with a central computer at the counter that controls each computer's login parameters.
Thin-client system is ruled out. I thought of accessing each of the user computers via ssh from central computer and use
sudo pw lock
and sudo pw unlock
combined with sleep
to control user login access and duration, but I was hoping there would be a way to better control when the duration would begin, and when it would end. In fact, is there a way to have three computers to share all user information such that the customer would get an arbitrary login/password at the counter and choose any of the computers to login to, and the login time begins automatically? I am comfortable with scripting, though oblivious on programming.Any assistance would be appreciated.