> Ok.but
> 1. i not use the Expect directly(The initialization doing by
> Net::SSH::Expect and i don't think it's good idea to rechange working logic
> of this module).
> 2. And when i start previous piece of code under www user - all works !
> 3.I think the main problem is going from nfsen "su -ing" because for example
> it change the run proccess name from the startup-name to the nfsend-comm
> (this file is not exist in filesystem ) .
> Now i will change the all tty and pts in /dev permissions
>

You should keep the list in your replies - I do not have all the answers :)

You shouldn't change the permissions on all your ttys. The files under
/dev/tty* are not directly used unless you specify them. Changing the
permissions on all files will probably break other things.

You don't have to abandon Net::SSH::Expect. I can see that you can get
a reference to the Expect object and try to manipulate it from there:

Expect get_expect() - returns the internal Expect object

You can try this after you run the constructor, but before login.
Having a reference to the expect object will give you more
flexibility.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to