Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo is a Computer Lab-Monitoring and Control?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ckroon
n00b
n00b


Joined: 29 May 2009
Posts: 1

PostPosted: Fri May 29, 2009 12:28 am    Post subject: Gentoo is a Computer Lab-Monitoring and Control? Reply with quote

Hi All...

At the school I teach we are moving to Linux in our computer labs.

We are dipping our foot into the Linux world so to speak.

Is it possible to have it set up so that a teacher can monitor the students usage and lock out specific computers?

In a perfect world we would be able to send out a message: This computer will log out in 1 minute..... then have it do so.

We have a problem with kids staying in the lab after the bell rings..

Any ideas/ suggestions would be greatly appreciated.

We would also like to be able to view what is on a students screen at any given time...

Thanks a lot!
Back to top
View user's profile Send private message
SZwarts
l33t
l33t


Joined: 13 Oct 2003
Posts: 629
Location: Sydney, NSW, Australia

PostPosted: Fri May 29, 2009 1:36 am    Post subject: Reply with quote

You can use x11vnc on the host (student's computer) and vncviewer on the client (caretaker's computer) to see what is going on on a computer, assuming you have the login for that computer.

If you want to login and Display a message, there are several options, for example if you have kde running, you can login
and do

DISPLAY=:0 kdialog --msgbox "This computer will be shut down in 1 minute" &
sleep 80;shutdown -h now

_________________
only when it is dark enough, can you see the stars
Back to top
View user's profile Send private message
bejayel
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2007
Posts: 104

PostPosted: Fri May 29, 2009 1:56 am    Post subject: Reply with quote

You can also command line reboot it via SSH.

You should should also study how to edit their priviliges to prevent them from using certain commands. For instance, you would absolutely NOT want a student using SUDO or SU. You may also want to take a good look into NIS and NFS.

You know what:

http://www.linuxhomenetworking.com/

Give that a good once over (Then book mark it and use it for reference) to get moderate idea for creating/managing a network the size that your's probably will be. They may not be gentoo specific tutorials, but everything in them should mostly work. You may have to google the locations of specific configuration file locations on gentoo (or whatever your choice distro is).
Back to top
View user's profile Send private message
SZwarts
l33t
l33t


Joined: 13 Oct 2003
Posts: 629
Location: Sydney, NSW, Australia

PostPosted: Fri May 29, 2009 2:08 am    Post subject: Reply with quote

bejayel wrote:
For instance, you would absolutely NOT want a student using SUDO or SU.


Why not? It's not like it doesn't ask for a password.
Don't scare him so much :)

(and by default users are not part of the wheel group anyway)
_________________
only when it is dark enough, can you see the stars
Back to top
View user's profile Send private message
bejayel
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2007
Posts: 104

PostPosted: Sat May 30, 2009 5:31 am    Post subject: Reply with quote

just in case his password is killer or 1234567 or something :P!

Seriously though, for security purposes i would simply disable such abilities. No they probably wont get your password, but they could.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum