Results 1 to 4 of 4

Thread: change terminal login message

  1. #1
    Join Date
    Jun 2007
    Beans
    73
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    change terminal login message

    Ok I would like to change the terminal log in behavior. I have a bare Ubuntu install with fluxbox thrown in and no graphical log in manager, I just type startx. I want to change the login message when I first log in and get the command line.

    I also want to add a welcome message and maybe a fortune to my Xterms when opened.

  2. #2
    Join Date
    Nov 2006
    Location
    40.31996,-80.607213
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: change terminal login message

    When you say welcome message, I am assuming you mean MOtD. That can be changed in /etc/motd.

    If you want to have fortune spill out some fortune telling at the open of xterm or any bash prompt for that matter, append the "fortune" command at the end of your ~/.bashrc

    Dr Small
    "Security lies within the user of who runs the system. Think smart, live safe." - Dr Small
    Linux User #441960 | Wiki: DrSmall

  3. #3
    Join Date
    Jul 2008
    Location
    Birmingham, England
    Beans
    2,400

    Re: change terminal login message

    Quote Originally Posted by Dr Small View Post
    When you say welcome message, I am assuming you mean MOtD. That can be changed in /etc/motd.

    If you want to have fortune spill out some fortune telling at the open of xterm or any bash prompt for that matter, append the "fortune" command at the end of your ~/.bashrc

    Dr Small
    Or you can have any special fortune you have installed too

    mine has "fortune futurama" and it gives me futurama quotes xD

  4. #4
    Join Date
    Mar 2008
    Location
    England
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: change terminal login message

    For the pre-login message, edit /etc/issue (by default, it just says Ubuntu version whatever)

    For the post-login message, use motd as Dr Small said.

Bookmarks

Posting Permissions

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