Christian has the right idea here. For example, when changing the
password for a user, it turned out much easier to do it with sending a
file and executing it than trying to juggle the inputs. So, for
Ubuntu, I could use three commands:
     echo "usertochange:newpassword" > foo
     sudo /usr/sbin/chpasswd <foo
     rm foo

_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to