adding to my own, the ldm process forks so we CAN actually parse out ssh
output over here:

        os.close(pipe_read)
        os.write(pipe_write,password)
        os.close(pipe_write)
        os.waitpid(pid, 0)

Is there a reason why the pipe_read was closed up early? never even got
used!!!

On Thu, 2007-05-10 at 09:58 +0500, Faraz Khan wrote:
> Dear all,
> 
> More feature requests with LDM:
> 
> 1. If a user enters a wrong password, he is simply given a blank screen
> then comes back to LDM. Their is no warning displayed about wrong
> passwords/etc.
> 
> 2. forceful password change. If I want to enable forceful password
> change (through shadow) this also becomes impossible. 
> 
> I see this is done through ldm-askpass. How do i go about adding this
> functionality? Pointers in the right direction would be appreciated. It
> needs to parse ssh output better. 
> 
> The problem lies in ldm over here:
> 
>            os.execvp('ssh', command)
>             sys.exit(1)
> 
> the exec line of functions never returns. LDM's behavior is obvious. Any
> pointers? I thought of making it ssh 'twice' but thats quite retarded. 
> 
-- 
Faraz R Khan
CEO, Emergen Consulting Pvt Ltd.
+92.21.111.111.320 x200
www.emergen.biz


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to