From: Stéphane G. <stg...@ub...> - 2012-11-20 14:36:40
|
On 11/15/2012 03:39 AM, christoffer krakou wrote: > Hi List > Den 14-11-2012 17:45, Stéphane Graber skrev: >> On 11/14/2012 07:51 AM, christoffer krakou wrote: >>> Hello list. >>> >>> I have an idea, and i want to know if anyone has any experience >>> with this or something similar. I was to create a Fat client >>> infrastructure using ubuntu. However, i want the clients to log >>> into a third party server, rather than the server they boot from. >>> This third party server will also store the users home >>> directories. Has anyone tried this? Is there any documentation i >>> can look at that could provide a clue? > >> Just set LDM_SERVER to the server you want to authenticate and >> mount the home directories from. The ssh public key for that server >> will need to be in the chroot so that ldm can use it. > That sounds like the easiest way to do it. However, i'm not sure how > to handle the ssh keys, since i don't know where ltsp usually stores > the keys, or how it generates them. Do you know where i can look to > find out? The launchpad site is a bit hard to navigate It depends on the version of LTSP, but usually, the keys are just stored in the ssh known_hosts keyring. So doing the following "should" work: - chroot /opt/ltsp/i386 - ssh-keyscan -t rsa $LDM_SERVER >> /etc/ssh/ssh_known_hosts Replacing $LDM_SERVER by the right value. This will append the public key of the server to the global ssh known hosts keyring. -- Stéphane Graber Ubuntu developer http://www.ubuntu.com |