Re: cyber cafe

From: Jeff Vian (jvian10_at_charter.net)
Date: 11/02/05

  • Next message: oldman: "Re: Can't display google maps or msnmaps in firefox"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Tue, 01 Nov 2005 20:02:22 -0600
    
    

    On Wed, 2005-11-02 at 00:26 +0100, 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.
    >

    If they actually logout it is simple.
    you can call a script from an entry in ~.bash_login and ~.bash_logout to
    record the data.
    Although I have not tested that to verify those scripts get executed
    when a user logs in graphically, IIRC they do.

    Or you can simply do a "last computerX" when they logout and the time
    for each login will be shown. If you have /var/log on an nfs mount to
    the workstation but physically on the control station then the
    cashier/operator can quickly get the stats. all stations would use the
    same data file. (wtmp has that data)

    Or the /var/log/ directories from each workstation could be nfs mounted
    on the control station and the local scripts there could get the data.

    There probably are other options, so look for what works for you.

    > --
    > Administration & Formation à l'administration
    > de serveurs dédiés:
    > http://www.google.fr/search?q=aspo+infogerance+serveur
    >
    >

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: oldman: "Re: Can't display google maps or msnmaps in firefox"

    Relevant Pages

    • Re: Weird script issues
      ... I also have the script as a logon script, so each time a user logs in it will ... I even get the error when a user logs in, so .UserName should not be ... It would fail at the line aUserName = Split ...
      (microsoft.public.scripting.vbscript)
    • Re: Ideas for second account and logging the actions? - Interestin
      ... user logs on, it can only write the event in event viewer. ... I have prepaired a small script that uses CDO ... admin for the boss would be OK? ... He does not want to use this account often. ...
      (microsoft.public.windows.server.active_directory)
    • Re: Users see all Users Folders instead of just Individual User Folder
      ... Can you post the logon script you are using. ... individual to their user folder. ... Example: A user logs on like most organizations: the script directs ...
      (microsoft.public.windows.server.active_directory)
    • Re: Re: Can CMD.EXE be edited?
      ... It is a logon script that is running. ... It depends on how your user logs on. ... Also look in the STARTUP folder inside the Program Files on the start ... Visit Topic URL to contact author (reg. ...
      (microsoft.public.win2000.general)
    • Re: Startup programs
      ... user logs in, and give them the gui. ... > Not entirely sure on this but I think running it as a startup script also ... > causes it to exit because of windows waiting for the script to finish, ...
      (microsoft.public.win2000.general)