Try expect if you've got no qualms with leaving your password in plaintext somewhere.
On Tue, Jun 18, 2002 at 10:18:35PM -0700, linux nitwit assembled some asciibets to write: : hi list : : 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 : : thanks in advance : : linux nitwit : : __________________________________________________ : Do You Yahoo!? : Yahoo! - Official partner of 2002 FIFA World Cup : http://fifaworldcup.yahoo.com : : ---------------------------------------------------------------------------- : 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 -- She sells cshs by the cshore. ~noufal ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
