CAN'T [sig]<p> Tony ... aka chgwhat<br><a href=mailto:tony_b@technologist.com>tony_b@technologist.com</a><br><a href= > </a><br>When in doubt,,, Power out...[/sig]
Try writing an expect script and a read() call. Although this is not secure in any way. [sig]<p>Jon Zimmer<br><a href=mailto:b0rg@pcgeek.net>b0rg@pcgeek.net</a><br><a href=
The sudo pacakge is the way to go -- very reliable and widely used. [sig]<p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href=
No way!!!
It's impossible to give a password to "su" instead of stdin.
No redirrection is feasable and for a very good security reason, if root password is written in a non crypted file everybody can read it.
Use sudo for tasks like this
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.