Re: su without user interaction as non-root user?

From: Aaron Morris (aaronmorris@MINDSPRING.COM)
Date: Sat Dec 14 2002 - 14:05:29 EST


You would need to utilize "expect" for this to work right.

Ford Perfect wrote:
> Hello,
>
> using a non-root user I want to call su with username and password e.g. like
>
> su - username $PASSWD
> or
> echo $PASSWD |su - username
>
> But this doesn't work with AIX 4.3.3
>
> Any ideas?
>
> thanx in advance
>
> ______________________________________________________________________________
> Erster Klick - SMS versenden, zweiter Klick - die Telefonnummer im
> Adressbuch speichern bei: http://freemail.web.de/features/?mc=021151
>

--
Aaron W Morris


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:24 EDT