Hi!
When I login to a Solaris 10 system with ssh or telnet, I get
the following message shown:
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
Copyright 2006 Sun Microsystems, Inc. 4150 Network Circle, Santa
Clara, California, 95054, U.S.A. All rights reserved.
This product includes software subject to the license and legal
notice contained herein and which may be found at
/opt/legal/License and /opt/legal/Legal_Notice.
What do I have to tweak to turn off this message?
Thanks,
Alexander Skwar
|
|
0
|
|
|
|
Reply
|
Alexander
|
12/19/2006 2:03:25 PM |
|
In comp.sys.sun.misc Alexander Skwar <alexander@skwar.name> wrote:
> Hi!
>
> When I login to a Solaris 10 system with ssh or telnet, I get
> the following message shown:
>
> Sun Microsystems Inc. SunOS 5.10 Generic January 2005
>
> Copyright 2006 Sun Microsystems, Inc. 4150 Network Circle, Santa
> Clara, California, 95054, U.S.A. All rights reserved.
>
> This product includes software subject to the license and legal
> notice contained herein and which may be found at
> /opt/legal/License and /opt/legal/Legal_Notice.
>
> What do I have to tweak to turn off this message?
>
There are two possibilities:-
Create a .hushlogin file in your home directory, this may well
stop the output.
If the above doesn't work then you'll have to edit the applicable
shell startup script in /etc, this will differ according to what
shell you're using.
--
Chris Green
|
|
0
|
|
|
|
Reply
|
tinnews
|
12/19/2006 2:18:54 PM
|
|
take a look at /etc/motd and /etc/issue (for ssh).
set banner in sshd_config
mike
Alexander Skwar <alexander@skwar.name> wrote in
news:l3ckond06jt5.dlg@dialog.schweiz.digitalprojects.com:
> Hi!
>
> When I login to a Solaris 10 system with ssh or telnet, I get
> the following message shown:
>
> Sun Microsystems Inc. SunOS 5.10 Generic January 2005
>
> Copyright 2006 Sun Microsystems, Inc. 4150 Network Circle, Santa
> Clara, California, 95054, U.S.A. All rights reserved.
>
> This product includes software subject to the license and legal
> notice contained herein and which may be found at
> /opt/legal/License and /opt/legal/Legal_Notice.
>
> What do I have to tweak to turn off this message?
>
> Thanks,
> Alexander Skwar
>
|
|
0
|
|
|
|
Reply
|
Michael
|
12/19/2006 2:21:53 PM
|
|
Alexander Skwar <alexander@skwar.name> writes:
> This product includes software subject to the license and legal
> notice contained herein and which may be found at
> /opt/legal/License and /opt/legal/Legal_Notice.
That's odd.
> What do I have to tweak to turn off this message?
What's in /etc/motd and /etc/issue? Has someone modified /etc/profile
or /etc/.login on this system?
--
James Carlson, KISS Network <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
|
|
0
|
|
|
|
Reply
|
James
|
12/19/2006 2:34:16 PM
|
|
On 2006-12-19, Alexander Skwar <alexander@skwar.name> wrote:
> Hi!
>
> When I login to a Solaris 10 system with ssh or telnet, I get
> the following message shown:
>
> Sun Microsystems Inc. SunOS 5.10 Generic January 2005
>
> Copyright 2006 Sun Microsystems, Inc. 4150 Network Circle, Santa
> Clara, California, 95054, U.S.A. All rights reserved.
>
> This product includes software subject to the license and legal
> notice contained herein and which may be found at
> /opt/legal/License and /opt/legal/Legal_Notice.
>
> What do I have to tweak to turn off this message?
Have a look in /etc/default/telnetd.
Dunno about ssh, though.
--
http://www.strike-the-root.com/
[email me at huge [at] huge [dot] org [dot] uk]
|
|
0
|
|
|
|
Reply
|
Huge
|
12/19/2006 3:00:15 PM
|
|
Alexander Skwar <alexander@skwar.name> writes:
>Hi!
>When I login to a Solaris 10 system with ssh or telnet, I get
>the following message shown:
>Sun Microsystems Inc. SunOS 5.10 Generic January 2005
>Copyright 2006 Sun Microsystems, Inc. 4150 Network Circle, Santa
>Clara, California, 95054, U.S.A. All rights reserved.
>This product includes software subject to the license and legal
>notice contained herein and which may be found at
>/opt/legal/License and /opt/legal/Legal_Notice.
>What do I have to tweak to turn off this message?
vi /etc/motd /etc/issue
I haven't seen the second bit of the message before.
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
|
|
0
|
|
|
|
Reply
|
Casper
|
12/19/2006 3:23:31 PM
|
|
James Carlson <james.d.carlson@sun.com>:
> Alexander Skwar <alexander@skwar.name> writes:
>> This product includes software subject to the license and legal
>> notice contained herein and which may be found at
>> /opt/legal/License and /opt/legal/Legal_Notice.
>
> That's odd.
Why?
>
>> What do I have to tweak to turn off this message?
>
> What's in /etc/motd and /etc/issue?
In /etc/motd, there's the message I pasted. Thanks!
> Has someone modified /etc/profile
> or /etc/.login on this system?
No. Default Solaris 10 stuff.
Alexander Skwar
|
|
0
|
|
|
|
Reply
|
Alexander
|
12/19/2006 4:23:57 PM
|
|
"Casper H.S. Dik" <Casper.Dik@Sun.COM>:
> Alexander Skwar <alexander@skwar.name> writes:
>
>>Hi!
>
>>When I login to a Solaris 10 system with ssh or telnet, I get
>>the following message shown:
>
>>Sun Microsystems Inc. SunOS 5.10 Generic January 2005
>
>>Copyright 2006 Sun Microsystems, Inc. 4150 Network Circle, Santa
>>Clara, California, 95054, U.S.A. All rights reserved.
>
>>This product includes software subject to the license and legal
>>notice contained herein and which may be found at
>>/opt/legal/License and /opt/legal/Legal_Notice.
>
>>What do I have to tweak to turn off this message?
>
> vi /etc/motd /etc/issue
/etc/motd was the file. Thanks for your help!
> I haven't seen the second bit of the message before.
It's what "you" (as in Sun) ship ;)
Alexander Skwar
|
|
0
|
|
|
|
Reply
|
Alexander
|
12/19/2006 4:24:51 PM
|
|
Its probably pulling multiple files; probably /etc/motd and also double
check /etc/issue. I can't remember where it is but there is also a
directory where it will cat whatever file you put there.
I'm not sure which ssh you're using (sun or open) but for my openssh
sshd_config file the "Banner" directive sets the login message.
--Mediis
Huge wrote:
> On 2006-12-19, Alexander Skwar <alexander@skwar.name> wrote:
> > Hi!
> >
> > When I login to a Solaris 10 system with ssh or telnet, I get
> > the following message shown:
> >
> > Sun Microsystems Inc. SunOS 5.10 Generic January 2005
> >
> > Copyright 2006 Sun Microsystems, Inc. 4150 Network Circle, Santa
> > Clara, California, 95054, U.S.A. All rights reserved.
> >
> > This product includes software subject to the license and legal
> > notice contained herein and which may be found at
> > /opt/legal/License and /opt/legal/Legal_Notice.
> >
> > What do I have to tweak to turn off this message?
>
> Have a look in /etc/default/telnetd.
>
> Dunno about ssh, though.
>
>
>
>
> --
> http://www.strike-the-root.com/
> [email me at huge [at] huge [dot] org [dot] uk]
|
|
0
|
|
|
|
Reply
|
mediis
|
12/19/2006 4:24:52 PM
|
|
Alexander Skwar <alexander@skwar.name> writes:
>James Carlson <james.d.carlson@sun.com>:
>> Alexander Skwar <alexander@skwar.name> writes:
>>> This product includes software subject to the license and legal
>>> notice contained herein and which may be found at
>>> /opt/legal/License and /opt/legal/Legal_Notice.
>>
>> That's odd.
>Why?
Never seen one of those....
Casper
|
|
0
|
|
|
|
Reply
|
Casper
|
12/19/2006 4:31:47 PM
|
|
Am 19 Dec 2006 16:31:47 GMT schriebst du in comp.unix.solaris:
> Alexander Skwar <alexander@skwar.name> writes:
>
>>James Carlson <james.d.carlson@sun.com>:
>
>>> Alexander Skwar <alexander@skwar.name> writes:
>>>> This product includes software subject to the license and legal
>>>> notice contained herein and which may be found at
>>>> /opt/legal/License and /opt/legal/Legal_Notice.
>>>
>>> That's odd.
>
>>Why?
>
> Never seen one of those....
Hm. Maybe check with Sun in Switzerland. It's a default message.
Alexander Skwar
|
|
0
|
|
|
|
Reply
|
Alexander
|
12/19/2006 8:17:50 PM
|
|
Alexander Skwar <alexander@skwar.name> writes:
> Hi!
> When I login to a Solaris 10 system with ssh or telnet, I get
> the following message shown:
> Sun Microsystems Inc. SunOS 5.10 Generic January 2005
move /etc/motd away
|
|
0
|
|
|
|
Reply
|
hs701
|
12/20/2006 11:08:46 AM
|
|
|
11 Replies
1879 Views
(page loaded in 0.2 seconds)
|