Thanks for the ideas. Haven't look into pam radius yet. Here's the setup: In our lan, users (the students) are allowed only 100 hours of free computer use. Beyond that they have to pay for a minimal amount. I want to keep track of their total login time in the network so that when they reach the limit, maybe their account be temporarily disabled and when enabled they will be billed accordingly. Also they have printing quotas. So my idea is: There is a server for centralized authentication. They have to ssh first to the log time tracking server. There I will use acct to account the login times. After they ssh, they will be given the gnome wm for their things to do. The ssh connection must be persistent until they logout gnome. Is this feasible? or some alternatives? TIA
On 7/7/11, fooler mail <[email protected]> wrote: > have you considered using pluggable authencation module (PAM) for your > user accounting? there are pam radius, pam ldap and others to that... > > fooler. > > On Thu, Jul 7, 2011 at 4:03 PM, Ramil Galib <[email protected]> wrote: >> As part of the User Login time problem I'm solving, >> my proposed solution is: >> 1. boot ubuntu in text mode >> 2. user logs-in in the terminal >> 3. system connects the user to the server thru ssh >> (ssh to the server records the login sessions thereby computing the >> total logins thru acct) >> 4. user inputs ssh credentials >> 5. system starts the gnome session >> >> 1 can be done in grub >> can 3 and 5 be done using screen and scripts in .bashrc? >> >> when I use screen ssh user@server >> the user still needs to press C-a c to create another screen session >> and type in there startx >> can this be done in one batch only without user intervention? >> >> hope you can help >> >> TIA >> _________________________________________________ >> Philippine Linux Users' Group (PLUG) Mailing List >> http://lists.linux.org.ph/mailman/listinfo/plug >> Searchable Archives: http://archives.free.net.ph >> > _________________________________________________ > Philippine Linux Users' Group (PLUG) Mailing List > http://lists.linux.org.ph/mailman/listinfo/plug > Searchable Archives: http://archives.free.net.ph > _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

