4

giving input to background processes

view full story
linux-howto

http://unix.stackexchange.com – Is there any way to give input to background processes or which run as demon processes??? I was coding some puppet configuration files and I had to push them to some remote machine.For that purpose I used git . So I did is created a bare repository on that remote machine and used git hook which would update the file after each push .So to update in /etc/puppet of the server machine i need to authenticate as root of that machine....but git essentially does this transfer through ssh (in background ) .i tried to use /bin/expect to provide user name and password for root of remote machine but it (HowTos)