From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,57335b0ba8dfa43f X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-07-01 14:54:52 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!gatech!nntp.msstate.edu!olivea!decwrl!pa.dec.com!mogul From: mogul@pa.dec.com (Jeffrey Mogul) Newsgroups: comp.unix.osf.osf1 Subject: Re: telnet prompts for root Date: 1 Jul 1994 21:46:17 GMT Organization: DEC Western Research Message-ID: <2v22r9$huh@usenet.pa.dec.com> References: <2unp9v$kdn@quandong.itd.adelaide.edu.au> <2uv1u7$42l@newpisgah.keene.edu> NNTP-Posting-Host: gnomea.pa.dec.com In article <2uv1u7$42l@newpisgah.keene.edu> rdmurray@keene.edu (R. David Murray) writes: >andrewr@itd.adelaide.edu.au (Andrew Rutherford) writes: >>Try this sometime: > >>= cat > ~/.telnetrc >>= default >>= environ unexport USER >>= ^D > >I couldn't get this to work. I believe that you must also remove "LOGNAME" from the environment; telnet tenaciously tries to use whatever it can find with your name in it. I don't know if this can be done or not from .telnetrc >I, too, find this default behaviour unacceptable. Especially since it seems >to surpress the pre-login banner on most systems, and that pre-login banner >often contains information on how to log in to special guest accounts. >I like the existence of the feature, but I very much dislike the default. I don't know about supression of the pre-login banner, but I do agree that this is annoying, and I filed an internal bug report on the problem a few weeks ago. Meanwhile, there's an easy workaround. Create this shell script: #!/bin/csh -f unsetenv USER unsetenv LOGNAME /usr/bin/telnet $* And either call it "telnet" and put it in your search path before /usr/bin (and before /usr/ucb, which is a link to /usr/bin) ... or call it something else (for example, "telnet_why_cant_DEC_get_this_right"). -Jeff "Works in research, not in the OSF product group"