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

From: pSeries AIX Geek (aixgeek@YAHOO.COM)
Date: Sat Dec 14 2002 - 09:22:16 EST


It's not really designed to work that way. Use "sudo"
with the NOPASS (or NOPASSWD, I can't remember which)
option.

--- Ford Perfect <ford.perfect@WEB.DE> 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

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



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