Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way in Solaris to auto type?

Status
Not open for further replies.

eli101

IS-IT--Management
Feb 1, 2001
54
US
Is there a way in Solaris to auto type?

For instance I am making a script to ask the user his login and password, and the script will automatically enter the login and password with some other tings I don't won't the user should need to enter.

What commend or script could I use?

Any help is greatly appreciated.
Eli
 
Just off the top of my head the program Expect would do this, you can download it from You could also use 'read' to read in the values and then pass those variables to whatever other command that needs them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top