From: Mark E. <m.d...@sh...> - 2015-03-04 17:02:46
|
I've identified what is going on here. In the script /opt/ltsp/amd64/usr/share/ldm/rc.d/X01-localapps, there is this line which gets the passwd entry for the current user from the server, to feed into the local useradd command: IFS=':' read LDM_USERNAME dummy pw_uid pw_gid pw_gecos LDM_HOME pw_shell <<EOF $(ssh_run '/usr/bin/getent passwd $(/usr/bin/id -u)') EOF The user on our system which was failing, has a .bashrc line which reads from a template file in /usr/local, which I did not mount on our LTSP server. It gives a message about "cannot access any system-wide profile script" which I think the above "read" command splits into fields, and the useradd fails. Now that I've made the template file available, the user is added successfully on login to the LTSP client. I'll have a go at modifying X01-localapps tomorrow but I just wanted to say that I don't require support with this issue anymore. Thanks, Mark -- Mark Ellerby Department of Computer Science Systems Administrator Regent Court, 211 Portobello m.d...@sh... Sheffield, S1 4DP |