Removing log in warranty-warning?


10 posts
by kirreen » Thu Dec 20, 2012 9:32 pm
When logging in I get a warning on Raspbian wheezy.
Code: Select all
Linux pi 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l
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.
Last login: Thu Dec 20 20:08:18 2012 from 192.168.1.14
How can I remove this from all users? I can't find it in .bashrc, and I don't know where else it is.
Posts: 2
Joined: Thu Dec 20, 2012 8:57 pm
by joan » Thu Dec 20, 2012 10:02 pm
man motd (message of the day)
User avatar
Posts: 6058
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK
by rgh » Thu Dec 20, 2012 10:02 pm
It comes from /etc/motd (message of the day).
Posts: 220
Joined: Fri Nov 25, 2011 3:53 pm
by bgreat » Thu Dec 20, 2012 10:05 pm
It is the Message Of The Day...

/etc/motd contains:
Code: Select all
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.


You can replace the with your own message or delete for no additional message.

Note: You need to have root privileges to modify /etc/motd

Enjoy!
User avatar
Posts: 235
Joined: Mon Jan 23, 2012 2:09 pm
by kirreen » Thu Dec 20, 2012 10:12 pm
Can I comment lines in motd?
Is it text only? I currently have a script in .bashcr that gives me the IP and some more stuff, could I put this in the motd? The .bashcr script takes a few seconds after the motd to load.

EDIT: Should have checked the comment thing by myself, and I couldn't comment it.
Posts: 2
Joined: Thu Dec 20, 2012 8:57 pm
by thediyguy786 » Mon Oct 27, 2014 1:39 pm
:x I reinstalled the os and when I boot it up it asks me to login, I login with the default login: Pi Password:raspberry and then that message comes up and does not let it boot (sometimes it takes me to raspi-config) What shall i do? :?:
Posts: 6
Joined: Thu Oct 09, 2014 8:32 pm
by pluggy » Mon Oct 27, 2014 1:45 pm
It that message comes up it has both booted and logged in. If you want the GUI, startx and [enter] does it for me.
Don't judge Linux by the Pi.......
User avatar
Posts: 2639
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
by thediyguy786 » Mon Oct 27, 2014 3:44 pm
:?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: CAN'T LOGIN IT JUST COMES UP WITH THAT MESSAGE!!! :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted:
Posts: 6
Joined: Thu Oct 09, 2014 8:32 pm
by DirkS » Mon Oct 27, 2014 4:04 pm
thediyguy786 wrote::?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: CAN'T LOGIN IT JUST COMES UP WITH THAT MESSAGE!!! :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted:

Your previous message says you logged in with pi/raspberry...
And as stated before, the 'NO WARRANTY' message shows up *after* you log in.

Do you expect the GUI to start automatically?

And there's no need to shout...

Gr.
Dirk.
Posts: 1342
Joined: Tue Jun 19, 2012 9:46 pm
Location: Staffordshire, UK
by rpdom » Mon Oct 27, 2014 4:07 pm
thediyguy786 wrote::?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: CAN'T LOGIN IT JUST COMES UP WITH THAT MESSAGE!!! :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted:

If it comes up with that message you are logged in correctly

What else were you expecting?

Did you read the Getting Started guide?

Why have you posted this or similar on more than one old thread?

You seem to have done something on your Pi, as you have changed the username on this post viewtopic.php?f=28&t=47758&p=632232#p632232 and from that I see that you seem to be ok with Linux or Linux type OSes...
User avatar
Posts: 3756
Joined: Sun May 06, 2012 5:17 am
Location: Essex, UK