LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-05-2006, 01:17 PM   #1
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 322

Rep: Reputation: 30
Remove random quotes on login?


How do I turn off those quotes on login? Like this:
Quote:
Banectomy, n.:
The removal of bruises on a banana.
-- Rich Hall, "Sniglets"
 
Old 02-05-2006, 01:25 PM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Maybe chmod -x /usr/games/fortune will help you.
 
Old 02-05-2006, 01:27 PM   #3
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 30
Okay well now I get:
Quote:
-bash: /usr/games/fortune: Permission denied
On login. I don't want that.
 
Old 02-05-2006, 01:29 PM   #4
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
a simple search of the forum would have given you:

chmod -x /etc/profile.d/bsd-games*
 
Old 02-05-2006, 01:31 PM   #5
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 30
Won't that chmod all the bsdgames? I just want fortune gone.
 
Old 02-05-2006, 01:31 PM   #6
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
chmod -x /etc/profile.d/*fortune*

also works
 
Old 02-05-2006, 04:12 PM   #7
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Possibly this will help you: Those Mysterious Quotations and Sayings When Logging In
 
Old 02-05-2006, 04:31 PM   #8
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
take a look in /etc/profile:
Code:
# Append any additional sh scripts found in /etc/profile.d/:
for file in /etc/profile.d/*.sh ; do
  if [ -x $file ]; then
    . $file
  fi
done
the bsd* scripts in /etc/profile.d are just a call to fortune - chmod'ing or renaming them won't kill fortune
 
Old 02-05-2006, 06:54 PM   #9
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
Quote:
Originally Posted by Genesee
take a look in /etc/profile:
Code:
# Append any additional sh scripts found in /etc/profile.d/:
for file in /etc/profile.d/*.sh ; do
  if [ -x $file ]; then
    . $file
  fi
done
the bsd* scripts in /etc/profile.d are just a call to fortune - chmod'ing or renaming them won't kill fortune
No?

hmmm, it worked for me.
 
Old 02-05-2006, 10:01 PM   #10
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
won't kill as in
at any time you can still do `fortune`
manually at the command line


i suppose
 
  


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
Quotes upon login aje Slackware 7 12-31-2005 02:49 PM
i've lost my prompt login quotes/jokes... darksmiley Slackware 11 07-11-2005 06:37 AM
those quotes after textmode-login artificialGekko Slackware 6 03-19-2005 07:42 AM
Random quotes on login, like Slackware lrt2003 Fedora 2 05-08-2004 09:57 PM
quotes at login csDraco_ Slackware 5 04-19-2003 08:34 PM

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

All times are GMT -5. The time now is 01:35 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