[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Similar question was: Change password from shellscript



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

Attachment: pgppoB_vJSs__.pgp
Description: PGP signature


Reply to: