Triggering GDM login on a remote machine

Posted by creator on Server Fault See other posts from Server Fault or by creator
Published on 2010-09-20T14:48:52Z Indexed on 2011/01/03 0:55 UTC
Read the original article Hit count: 194

Filed under:
|
|
|

I have to briefly describe the situation. We are planning to make a computer classroom with workstations running Ubuntu 10.04. Since making accounts for each student has not been considered reasonable, we decided to make accounts for each student group. We don't want students to share their passwords between groups so the solution would be not to give them passwords at all, but let the teacher log them in instead. Obviously he shouldn't go from one machine to another typing in credentials by hand, so we need some script that will connect to a remote machine by ssh and make GDM (or probably any other login manager if GDM cannot serve this purpose) log in specified user. I couldn't find any solutions, as well as I haven't noticed anybody in similar situation asking for help, so my question will be: can the scheme described be realized and if yes, then how? Thanks in advance.

© Server Fault or respective owner

Related posts about linux

Related posts about login