Operating System - Linux
1829770 Members
3129 Online
109992 Solutions
New Discussion

Re: need to bypass a .profile menu during login with script

 
CRollins
Advisor

need to bypass a .profile menu during login with script

my issue is that im using ssh to connect to another server via script. upon login to that server, a menu comes up. how do i either bypass this menu or select the default?

read/echo doesnt work and echo "1" >/dev/tty doesnt work. please help.


Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
ORACLE_SID = [1] ?
2 REPLIES 2
Tim Nelson
Honored Contributor

Re: need to bypass a .profile menu during login with script

Only thought:

Modify the profile to see if there is a tty. If not skip all the tty related stuff.

CRollins
Advisor

Re: need to bypass a .profile menu during login with script

nevermind - got it thanks!