Dave Anselmi wrote:
% "R. Quenett" wrote:
% 
% > from Alan Jackson:
% >
% > " Here is a script I use...
% >
% > " su root -c "make install UNINST=1"
% >
% > Right here, mine prompts me for my root password.  Obviously, yours
% > doesn't.  I wonder what the difference is, I recall trying -c...
% > hmmm.  I will try it again.  Thanks.

[...]


You could have a look at the sudo command. "expect" is another way to
do this.

Kurt
-- 
Ginsburg's Law:
        At the precise moment you take off your shoe in a shoe store, your
        big toe will pop out of your sock to see what's going on.
_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to