Remove login message


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Remove login message
# 1  
Old 11-13-2008
Remove login message

Hi All expert,

I am about to perform remote shell to another unix server. But whenever i logged in into the remote server, the message prompt, "Setting up environment for MCI backend databases on Oracle 9.2^J"

I'm suppose to rsh and cat a flat file that return only number.
I tried "nohup" but the message prompt is still there.

May i know how to eliminate this message?

My sample code is
Code:
RETURN_CODE=`nohup rsh 10.1.72.232 -l intcrms "cat /SYSTEM/custom/scripts/CIDM/KENAN_DAT/logs/${FILE_PREFIX}_${TDATE}_extractStatus.log`

RETURN_CODE supposed to return either "1" or "0"
But it returned as,
"Setting up environment for MCI backend databases on Oracle 9.2^J1"
# 2  
Old 11-13-2008
Have you checked the content of the logfile /SYSTEM/custom/scripts/CIDM/KENAN_DAT/logs/${FILE_PREFIX}_${TDATE}_extractStatus.log?
# 3  
Old 11-13-2008
On what platform are you? And you should not use nohup... if on solaris try -n option...
# 4  
Old 11-14-2008
Hi Vbe,

I've checked the output file, it returned "1".
I'm running in HP-UX platform.

Thanks in advance.
# 5  
Old 11-14-2008
Have you tried:
Code:
remsh 10.1.72.232 -l intcrms -n cat /SYSTEM/custom/scripts/CIDM/KENAN_DAT/logs/${FILE_PREFIX}_${TDATE}_extractStatus.log &

 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How do I remove or hide SunOS version/release from remote login prompt?

For any SunOS 5.XX release, it appears prior to the "login:" prompt (as if a "uname" command is run). Would anyone know where that initial display of SunOS release comes from upon a remote login and how I can stop if from displaying? Thank you (4 Replies)
Discussion started by: ssid61
4 Replies

2. Post Here to Contact Site Administrators and Moderators

Login message

My location is set to London. Why does the 2nd line of my welcome message say "You are somewhere around Glasgow."? (1 Reply)
Discussion started by: Robert W.Mills
1 Replies

3. Shell Programming and Scripting

How to change banner message for console login?

Hi All, Whenever I login to server via console, after providing username (root) it displays a banner message. I want to remove this message Serverabc : root Welcome to Server !!! Password: It is Centos 5.4 box. I have checked /etc/issue and /etc/motd. It does not... (8 Replies)
Discussion started by: kalpeer
8 Replies

4. Solaris

A DT Message error on login... other symptoms

First let me apologize for joining and posting... but this thing is killing me. I can usually solve these problems myself but I am reaching for help now. I have about 2 years Unix 8 experience but I am by no means an expert but not a newb either. A little background. My system runs a... (8 Replies)
Discussion started by: mpb218
8 Replies

5. Solaris

error message rmclomv ... SC Login Failure for user Please login:

Hello World ~ HW : SUN Fire V240 OS : Solaris 8 Error message prompts 'rmclomv ... SC login failure ...' on terminal. and Error Message prompts continually 'SC Login Failure for user Please login:' on Single Mode(init S) The System is in normal operation, though In case of rain, Can... (1 Reply)
Discussion started by: lifegeek
1 Replies

6. HP-UX

telnet banner message before login

why I didn't set /etc/inetd.conf telnet stream tcp nowait root /usr/lbin/telnetd \ telnetd -b /etc/issue only telnet stream tcp nowait root /usr/lbin/telnetd in /etc/ineted.conf but when I telnet my HPUX machine it shows those message HP-UX hp1008 B.11.31 U ia64 (tb) login: ... (1 Reply)
Discussion started by: alert0919
1 Replies

7. UNIX for Dummies Questions & Answers

login message

hi friends.....can anyone help me out.... i want to display a message whenever a user logs in...like goodmorning,goodafternoon etc depending on the time of login.can anyone suggest a shell script for this???? (2 Replies)
Discussion started by: nikhilneela
2 Replies

8. UNIX for Dummies Questions & Answers

I want to change login failure message, "login incorrect"

I want to change login failure message, "login incorrect" deny user login for user id tom sudo passwd -l tom type username and type password on login prompt and then it will display login failure message "login incorrect" console ############ login: tom password: login incorrect... (2 Replies)
Discussion started by: lifegeek
2 Replies

9. UNIX for Dummies Questions & Answers

unix login welcome message

When I telnet to a unix server someone put a stupid message there: Last login: Mon Nov 15 16:59:13 from xxx.xxx.xxx.xxx Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001 YO! <-- message Mon Nov 15 17:19:05 EST 2004 How did they do it and how can I find out who did it? ... (17 Replies)
Discussion started by: webtekie
17 Replies
Login or Register to Ask a Question