Page 1 of 1

Removing log in warranty-warning?

Posted: Thu Dec 20, 2012 9:32 pm
by kirreen
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.

Re: Removing log in warranty-warning?

Posted: Thu Dec 20, 2012 10:02 pm
by joan
man motd (message of the day)

Re: Removing log in warranty-warning?

Posted: Thu Dec 20, 2012 10:02 pm
by rgh
It comes from /etc/motd (message of the day).

Re: Removing log in warranty-warning?

Posted: Thu Dec 20, 2012 10:05 pm
by bgreat
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!

Re: Removing log in warranty-warning?

Posted: Thu Dec 20, 2012 10:12 pm
by kirreen
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.

Re: Removing log in warranty-warning?

Posted: Mon Oct 27, 2014 1:39 pm
by thediyguy786
: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? :?:

Re: Removing log in warranty-warning?

Posted: Mon Oct 27, 2014 1:45 pm
by pluggy
It that message comes up it has both booted and logged in. If you want the GUI, startx and [enter] does it for me.

Re: Removing log in warranty-warning?

Posted: Mon Oct 27, 2014 3:44 pm
by thediyguy786
:?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: CAN'T LOGIN IT JUST COMES UP WITH THAT MESSAGE!!! :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted:

Re: Removing log in warranty-warning?

Posted: Mon Oct 27, 2014 4:04 pm
by DirkS
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.

Re: Removing log in warranty-warning?

Posted: Mon Oct 27, 2014 4:07 pm
by rpdom
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 http://www.raspberrypi.org/forums/viewt ... 32#p632232 and from that I see that you seem to be ok with Linux or Linux type OSes...