LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Configuring a Host for timebased exclusive access (https://www.linuxquestions.org/questions/linux-server-73/configuring-a-host-for-timebased-exclusive-access-4175501804/)

soulbadguy 04-15-2014 08:07 AM

Configuring a Host for timebased exclusive access
 
Hi guys,
First a bit of background, We have a set servers we use for benchmarking some applications and do all sort of performances investigations. I am looking for a way to grant exclusive access to each of them in a time slot based manner (each dev register for a time slot and is the only one able to log into the machine during that period).The server are tipicaly
accessed thought ssh.
1 - Is there an easy way of doing that ?
2 - After a bit reading, i am thinking of having remote http server that will server a list of time slots and use pam_exec to execute a script that will querry the http server, parse the list and allow/deny the user based on that list.

I am looking for comment on my solutions

Thanks

unSpawn 04-15-2014 05:21 PM

'less /usr/share/doc/pam-*/txts/README.pam_time'?


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