SlackwareThis 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.
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.
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
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 :^)
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 :^)
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.
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
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.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
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).
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
...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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.