cyber cafe

j5483 j5483 at yahoo.com
Wed Nov 2 01:29:10 UTC 2005


.bash_logout in the users home directory will run anything listed when 
the user logs out. As far as logging in is concerned there is a similar 
way but I can't remember it off the top of my head.

John

Rakotomandimby Mihamina wrote:
> Hi,
> 
> A cyber cafe manager is going to renew all his hardware, and he would be
> interested in switching to Linux.
> I would like to introduce Fedora/GNOME to him.
> The only missing thing is the time counter.
> If I could find a "time counter", it would be ok.
> There would be one user per computer.
> All clients coming to the cyber cafe would log in as "computer1" on the
> first computer, "computer2" on the second and so on....
> I could make a script, or anything that would do something (send some
> signal) when the user logs in, and do another thing when he logs out.
> 
> So the question is:
> - How to make an executable to run when an user logs in ?
> - How to make an executable to run when an user logs out ?
> 
> Using GNOME on Fedora Core.
> Thank you.
> 




More information about the users mailing list