> > > #!/bin/bash > > > su root > > > echo <password> > > > kppp > > > > > If you really want to do it this way, use an expect script. How do I write a expect script? after su root, I gave the following... expect Password send <password> doesn't work... It says expect not a command and send not a command. TIA Sukrit ---------------------------------------------- Find out more about this and other Linux India mailing lists at http://lists.linux-india.org/
- [LIH] a basic script Surkit M
- Re: [LIH] a basic script Shridhar Daithankar
- Re: [LIH] a basic script sreangsu acharyya
- Re: [LIH] a basic script Sukrit Mehra
- Re: [LIH] a basic script Suresh Ramasubramanian
- Re: [LIH] a basic script sreangsu acharyya
- Re: [LIH] a basic scrip... Suresh Ramasubramanian
- pine can recognise ... sreangsu acharyya
- Re: pine can recogn... Suresh Ramasubramanian
- Re: pine can recogn... sreangsu acharyya
- Re: pine can recogn... Suresh Ramasubramanian
- [LIH] wvdial proble... New Star Service Company
- RE: [LIH] a basic script Rajkumar Andrews
