Hugo Vanwoerkom said on Tue, Dec 16, 2003 at 08:34:24AM -0600: > I want to make a script (which I am at present unable to do) that does this: > > su > <give the password from the script> > export PATH=/usr/local/bin:/usr/bin:/usr/bin/X11 > xsane > exit from script > > Note: su insists on running from a terminal window. > > How do you do that?
Use xsu instead of su. You'll probably have to install it. M
pgp00000.pgp
Description: PGP signature