Find the answer to your Linux question:
Results 1 to 8 of 8
I am running debian sarge 3.1 I have successfully configured the sshd and can log in. But when i log in I get this annoying message: Linux localhost 2.4.27-2-386 #1 ...
  1. #1
    Just Joined!
    Join Date
    Jan 2006
    Posts
    43

    Exclamation copyright message need to remove

    I am running debian sarge 3.1

    I have successfully configured the sshd and can log in. But when i log in I get this annoying message:
    Linux localhost 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 GNU/Linux

    The programs included with the Debian GNU/Linux system are free software;the exact distribution terms for each program are escribed in the
    individual files in /usr/share/doc/*/copyright.

    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    does anyone know how to edit or get rid of this? I'm sure its just inside a config file, but its not in the sshd_conf, ssh_conf files...so if anyone could help

    any help is much appriciated.

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,086
    Take a look in /etc/rc.sysinit to see if it's there.

  3. #3
    Just Joined!
    Join Date
    Jan 2006
    Posts
    43

    file doesnt excist

    Quote Originally Posted by ozar
    Take a look in /etc/rc.sysinit to see if it's there.
    nope, the file doesnt excist. I use vi as my editor (through the terminal). I log in as root (via su -) and the file doesnt excist, so when i type:

    vi /etc/rc.sysinit

    it creates a new file and waits for my input and such. any other ideas?

  4. #4
    Just Joined!
    Join Date
    Jan 2006
    Posts
    77
    look at /etc/issue, /etc/issue.net and /etc/motd. I think one of them is what you need to edit.

  5. #5
    Just Joined!
    Join Date
    Nov 2005
    Location
    Midwest: USA
    Posts
    32
    Quote Originally Posted by marlowe
    look at /etc/issue, /etc/issue.net and /etc/motd. I think one of them is what you need to edit.
    /etc/motd is the one you want to edit.

    Here is a copy of what it looks like.

    # more /etc/motd
    Linux 2.4.27-1-386 #1 Fri Sep 3 06:24:46 UTC 2004 i686 GNU/Linux

    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.

  6. #6
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,086
    Quote Originally Posted by drewrockshard
    nope, the file doesnt excist. I use vi as my editor (through the terminal). I log in as root (via su -) and the file doesnt excist, so when i type:

    vi /etc/rc.sysinit

    it creates a new file and waits for my input and such. any other ideas?
    Yeah, various distros set things up differently. I'm not running Debian so can't say for sure where it is. The /etc/motd file as suggested by the others above is nothing more than an empty file on my box, so you'll probably have to just poke around for it if it's not there on your box.

  7. #7
    Just Joined!
    Join Date
    Jan 2006
    Posts
    43
    thanks for all the quick responses! all help is very much appriciated

    /etc/motd was the correct File & everything is working great

    thanks again!

  8. #8
    Banned CodeRoot's Avatar
    Join Date
    Sep 2005
    Posts
    567
    TRIVIA:

    The file /etc/motd has been around since the early days of UNIX, and is "standard" in most if not all UNIX/Linux systems. The letters 'motd' stand for "Message Of The Day" -- historically, the file was used by system administrators to convey information to users as they logged in - and could/might actually be different from day to day -- now, it seems to be mostly used for simple "static" messages (i.e., "Have a lot of fun...") or disclaimers like the one above.

    Just in case you didn't know...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •