LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   login weird messages.....! (https://www.linuxquestions.org/questions/slackware-14/login-weird-messages-394406/)

slacksteep 12-19-2005 03:57 AM

login weird messages.....!
 
Hi all!
During the last two times I 've installed Slackware 10.2...(i am new to that and I have formatted and installed quite a few times over the last month..) on the packages selection menu I checked on the X games package which is the last selection on the menu of installation packages. The first time I don't remember having noticed it from the first logins but soon after I logged into the system for the first time I started getting these weird mesages everytime I logged in as root or as a user....the type of messages like 'sayings of great men' by Ambrose Bearce and that crap! I realised someone had broken in
so I formatted and reinstalled without network this time, only to find out that the messages keep coming up.
Is this a result of me having checked the X games package?...or am i simply irreversibly compromised and need to do something else?
In all previous installations I never got those messages and I am sure there were people breaking into my system then as well, cause I am not all that crazy and knowledgable about security! But these 'great men sayings' are just one sip too many...! Can I deactivate them some how or that's just it?
Thanks

Okie 12-19-2005 04:04 AM

sounds like fortune, open a terminal and type in fortune and press enter on your keyboard, it is harmless quotes from famous people, if you wish to remove it remove the bsdgames package and/or xgames package i am not sure which but i am sure someone will jump in here and correct me on the exact package name :^)

Nylex 12-19-2005 04:24 AM

Quote:

Originally Posted by Okie
if you wish to remove it remove the bsdgames package and/or xgames package i am not sure which but i am sure someone will jump in here and correct me on the exact package name :^)

Nope, bsd-games is the package name :).

mjjzf 12-19-2005 04:27 AM

It is a part of BSD-Games. You can simply run
removepkg bsd-games
s root to remove it.

slacksteep 12-19-2005 04:31 AM

thnx
 
Thnx people....they were just irritating
and I was starting to think somebody had planted them
in there!
I will remove immediately!
cheers to all!

denver1980 12-19-2005 04:40 AM

You can change Fortune to have more relevant info in it ... like the tips of the day fron Konsole !
Code:

sed -e 's/^<tip category.*/%/g' -e 's/<p>\.\.\./Did you know /g' -e '/^[%D]/!d' /opt/kde/share/apps/konsole/tips > /usr/share/games/fortunes/Tip_Konsole
strfile /usr/share/games/fortunes/Tip_Konsole

Now you can either :
- Change all files in /usr/share/games/fortunes/ from .dat to .dat.old
- Change the way you invoke fortune in Konsole from :
fortune
To :
fortune Tip_Konsole

slacksteep 12-19-2005 05:18 AM

thnx
 
thnx Denver!
...cool hint!:study: I do need some Konsole tips.
But sure as hell don't need those patronizing quotes.
I ll try it out.

richcoosa19 12-19-2005 07:19 AM

I believe there is a way you can set your profile to not run fortune when you login. So you can still have the program incase you want to play with it. I believe the file you need to edit is ~/.bashrc. You can piddle with your user files by typing
Code:

ls -la ~/.*
If there isn't one called ~/.bashrc, you need to edit your default profile somewhere in /etc/profile.conf I think. Sorry to be vague, but I'm at work right now and I can't ssh into my server from here.

titopoquito 12-19-2005 08:16 AM

Quote:

Originally Posted by richcoosa19
I believe there is a way you can set your profile to not run fortune when you login. So you can still have the program incase you want to play with it. I believe the file you need to edit is ~/.bashrc.

fortune is called by /etc/profile.d/bsd-games-login-fortune.sh (if you're using csh replace ending with .csh).

MannyNix 01-07-2006 12:44 AM

Quote:

Originally Posted by slacksteep
Thnx people....they were just irritating...
I will remove immediately!
cheers to all!

I totally agree!
Thanks for this post, i was getting mad trying to figure out how to dissable those quotes for about an hour.
I hope not to offend anybody, specially developers, but does anybody enjoy having that when you log in? For a moment it reminded me of running microsoft and being spamed by casinoonline or similar annoyances

jayakrishnan 01-07-2006 03:47 AM

/etc/motd?

raska 01-07-2006 01:09 PM

Quote:

Originally Posted by slacksteep
...they were just irritating
and I was starting to think somebody had planted them
in there!
I will remove immediately!...

IMHO, I think those fortune messages are quite funny and (believe or not) they were one of the main reasons to start using Slackware some years ago. They make me laugh when I open a konsole and keep my days happy as hell :D

guzzi 01-07-2006 07:12 PM

fortune
 
I started with Slacware 3.X, and I think the fortune thing was in it back then.

Has it always been in?

By the way, I'm with raska.

Jeebizz 01-07-2006 09:23 PM

I also like the fortune quotes, at one point I wanted to add my own custom fortune, but gave up, because it had to correspond with a .dat file, and I have no idea how to do that, and man fortune didn't help much for that.. Oh well.

MannyNix 01-07-2006 11:49 PM

cool, it's great that some people enjoy them and that if you don't you can just remove them, ah.. freedom ;)


All times are GMT -5. The time now is 12:29 AM.