LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-05-2003, 11:35 AM   #1
rickenbacherus
Member
 
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290

Rep: Reputation: 30
free quote @ cmd prompt


I've installed Vector linux (slackware based distro) several times on several machines, on only one of them after it boots to the command promt before it gives me the login it displays a quote and its author. Sometimes these quotes are of objectionable nature and of course this just so happens to be the machine that my kids use. My question is how did I manage to install that? I don't recall doing anything differently than my other installs but just the same there it is every time I boot. Anybody know what it's called or how to stop it? Thanks.
 
Old 03-05-2003, 12:30 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
The program is called fortune I believe.
 
Old 03-05-2003, 12:37 PM   #3
Q*Bert
Member
 
Registered: Feb 2003
Location: Birmingham, UK
Distribution: Redhat 8.0, Immunix 7.0 a few others
Posts: 222

Rep: Reputation: 30
Quote:
Originally posted by trickykid
The program is called fortune I believe.
I'm not sure what anyone else thinks, but this doesn't really answer the question at all - fortune is not being invoked directly.

Have a look in the following files:

/etc/motd
/etc/issue
~/.bash_profile

either of those three will have a reference to the executable usually located at /usr/games/fortune.

In any of these files, the invocation for fortune can be commented out.

Q*Bert
 
Old 03-05-2003, 02:24 PM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
Originally posted by Q*Bert
I'm not sure what anyone else thinks, but this doesn't really answer the question at all - fortune is not being invoked directly.

Have a look in the following files:

/etc/motd
/etc/issue
~/.bash_profile

either of those three will have a reference to the executable usually located at /usr/games/fortune.

In any of these files, the invocation for fortune can be commented out.

Q*Bert
You guys having some competition thing going on?

Anyway, I think that what Drew was getting at was the name of the package so it could be removed or at least noticed when installed.

But I that's not to say your help wasn't a great follow up too.

Cool
 
Old 03-05-2003, 04:06 PM   #5
Q*Bert
Member
 
Registered: Feb 2003
Location: Birmingham, UK
Distribution: Redhat 8.0, Immunix 7.0 a few others
Posts: 222

Rep: Reputation: 30
Quote:
Originally posted by MasterC
You guys having some competition thing going on?
Good question. I only noticed it after I zeroed my post count. Maybe that wound the mods up a bit . Still I notice a fair share of catfighting between Tricky and Acid too. Hehe.

Removing fortune can't be the answer. At least it should be retained in /etc/issue.net to greet any wouldbe systems crackers!

Q*Bert
 
Old 03-06-2003, 09:40 AM   #6
rickenbacherus
Member
 
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290

Original Poster
Rep: Reputation: 30
Thanks tricky for pointing me in the right direction.
Q*Bert - excellent followup. Fortune has met its end!

Thanks again.
 
Old 03-06-2003, 10:55 PM   #7
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
Quote:
Fortune has met its end!
well..ummm
couldn't you have just deleted the .dat file for the offensive file (the offensive/inoffensive files have been split) or used a command to choose which files should be parsed...?

just a thought....
 
Old 03-06-2003, 11:01 PM   #8
rickenbacherus
Member
 
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290

Original Poster
Rep: Reputation: 30
I imagine that would have been an excellent idea, it's just that I don't care to have fortune at all. thanks tho
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
stuck in unix cmd prompt ddajango Linux - Newbie 3 10-11-2005 02:24 AM
Build 'n Debug a C/C++ KDevlop cmd prompt project SCOSWriter Linux - Software 2 12-10-2004 10:07 AM
Quote Server oulevon Programming 2 12-04-2002 09:59 AM
quote tundra General 2 09-21-2002 05:58 AM
Interesting MS quote cli_man General 7 05-14-2002 01:37 PM


All times are GMT -5. The time now is 02:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration