LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-19-2005, 03:57 AM   #1
slacksteep
LQ Newbie
 
Registered: Nov 2005
Posts: 22

Rep: Reputation: 15
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
 
Old 12-19-2005, 04:04 AM   #2
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
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 :^)
 
Old 12-19-2005, 04:24 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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 .
 
Old 12-19-2005, 04:27 AM   #4
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

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

Last edited by mjjzf; 12-19-2005 at 04:28 AM.
 
Old 12-19-2005, 04:31 AM   #5
slacksteep
LQ Newbie
 
Registered: Nov 2005
Posts: 22

Original Poster
Rep: Reputation: 15
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!
 
Old 12-19-2005, 04:40 AM   #6
denver1980
Member
 
Registered: Dec 2004
Location: Québec
Distribution: Gentoo, Kubuntu Karmic
Posts: 48

Rep: Reputation: 15
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

Last edited by denver1980; 12-19-2005 at 04:41 AM.
 
Old 12-19-2005, 05:18 AM   #7
slacksteep
LQ Newbie
 
Registered: Nov 2005
Posts: 22

Original Poster
Rep: Reputation: 15
thnx

thnx Denver!
...cool hint! I do need some Konsole tips.
But sure as hell don't need those patronizing quotes.
I ll try it out.
 
Old 12-19-2005, 07:19 AM   #8
richcoosa19
Member
 
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84

Rep: Reputation: 15
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.
 
Old 12-19-2005, 08:16 AM   #9
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
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).
 
Old 01-07-2006, 12:44 AM   #10
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
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
 
Old 01-07-2006, 03:47 AM   #11
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
/etc/motd?
 
Old 01-07-2006, 01:09 PM   #12
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
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
 
Old 01-07-2006, 07:12 PM   #13
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 313

Rep: Reputation: 40
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.
 
Old 01-07-2006, 09:23 PM   #14
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,180

Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
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.
 
Old 01-07-2006, 11:49 PM   #15
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
cool, it's great that some people enjoy them and that if you don't you can just remove them, ah.. freedom
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/var/log/messages weird entries blizunt7 Linux - Security 5 11-01-2005 05:56 PM
KDevelop, weird startup messages & glade-- swinchen Slackware 1 04-05-2004 05:39 PM
Weird hard drive error messages: verdeboy2k Linux - Hardware 5 03-20-2004 11:50 PM
Mandrake linux 9.1, eth0:9, and weird messages enigma Z Linux - Networking 2 09-28-2003 09:15 PM
weird error messages i_is_cat Linux - Newbie 1 04-19-2003 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration