On 18 Jun 2002 at 22:18, linux nitwit wrote:
> is there any way that i can login as another user in a
> single command ( as in give the password and username
> in a singe command)
> when i do this
> 
> $echo nitwit |su - nitwit
> i get error
> standard in must be a tty  
> and login gives password incorrect

man expect


Bye
 Shridhar

--
Another war ... must it always be so?  How many comrades have we lostin this 
way? ...  Obedience.  Duty.  Death, and more death ...          -- Romulan Commander, 
"Balance of Terror", stardate 1709.2


----------------------------------------------------------------------------
                   Bringing you mounds of caffeinated joy
                   >>>     http://thinkgeek.com/sf    <<<

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to