Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
12-19-2005, 04:57 AM
|
#1
|
LQ Newbie
Registered: Nov 2005
Posts: 22
Rep:
|
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
|
|
|
12-19-2005, 05:04 AM
|
#2
|
Senior Member
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154
Rep: 
|
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 :^)
|
|
|
12-19-2005, 05:24 AM
|
#3
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
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  .
|
|
|
12-19-2005, 05:27 AM
|
#4
|
Member
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879
Rep:
|
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 05:28 AM.
|
|
|
12-19-2005, 05:31 AM
|
#5
|
LQ Newbie
Registered: Nov 2005
Posts: 22
Original Poster
Rep:
|
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!
|
|
|
12-19-2005, 05:40 AM
|
#6
|
Member
Registered: Dec 2004
Location: Québec
Distribution: Gentoo, Kubuntu Karmic
Posts: 48
Rep:
|
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 05:41 AM.
|
|
|
12-19-2005, 06:18 AM
|
#7
|
LQ Newbie
Registered: Nov 2005
Posts: 22
Original Poster
Rep:
|
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.
|
|
|
12-19-2005, 08:19 AM
|
#8
|
Member
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84
Rep:
|
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 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.
|
|
|
12-19-2005, 09:16 AM
|
#9
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep: 
|
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).
|
|
|
01-07-2006, 01:44 AM
|
#10
|
Member
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 467
Rep:
|
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
|
|
|
01-07-2006, 04:47 AM
|
#11
|
Member
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992
Rep:
|
/etc/motd?
|
|
|
01-07-2006, 02:09 PM
|
#12
|
Member
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816
Rep:
|
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 
|
|
|
01-07-2006, 08:12 PM
|
#13
|
Member
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 315
Rep:
|
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.
|
|
|
01-07-2006, 10:23 PM
|
#14
|
Senior Member
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,270
|
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.
|
|
|
01-08-2006, 12:49 AM
|
#15
|
Member
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 467
Rep:
|
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 01:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|