Re: cyber cafe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



.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.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux