Re: [gdm-list] limiting access




Yan:

You could set up some cron jobs.  You could run gdm-stop to terminate
all user sessions and run gdm-start to allow users to start logging in
again.  There are probably a variety of mechanism you could use via cron
to give the users some advance warning of the shutdown.

The drawback with this approach is that GDM simply won't manage the
displays while turned off, so you would need to figure out some
mechanism to display the "user logins are not permitted" message on
each display.

During the "down" period you could restart GDM with a PAM stack
which denies all login attempts and displays the "user logins are
not permitted" message if you really wanted this message to come from
GDM.  As I say, there are probably other methods you could use to
display such a message, though.

Brian


I have a machine with multiple logins.

I need to automatically logout all users at a specific time during the
day, and then deny logins until a specific time.

So:

at 7:55 AM all user sessions are terminated, preferrably with some
warning
from 7:55 AM to 8:30 AM gdm displays a message that user logins are not
permitted
at 8:30 AM normal login sessions are allowed

How do I go about doing this?

_______________________________________________
gdm-list mailing list
gdm-list gnome org
http://mail.gnome.org/mailman/listinfo/gdm-list



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