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.
|
 |
02-05-2006, 02:17 PM
|
#1
|
Member
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 322
Rep:
|
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"
|
|
|
|
02-05-2006, 02:25 PM
|
#2
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Maybe chmod -x /usr/games/fortune will help you.
|
|
|
02-05-2006, 02:27 PM
|
#3
|
Member
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 322
Original Poster
Rep:
|
Okay well now I get:
Quote:
-bash: /usr/games/fortune: Permission denied
|
On login. I don't want that.
|
|
|
02-05-2006, 02:29 PM
|
#4
|
Member
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796
Rep:
|
a simple search of the forum would have given you:
chmod -x /etc/profile.d/bsd-games*
|
|
|
02-05-2006, 02:31 PM
|
#5
|
Member
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 322
Original Poster
Rep:
|
Won't that chmod all the bsdgames? I just want fortune gone.
|
|
|
02-05-2006, 02:31 PM
|
#6
|
Member
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355
Rep:
|
chmod -x /etc/profile.d/*fortune*
also works
|
|
|
02-05-2006, 05:12 PM
|
#7
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482
|
|
|
|
02-05-2006, 05:31 PM
|
#8
|
Member
Registered: Dec 2002
Distribution: Slackware
Posts: 927
Rep:
|
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
|
|
|
02-05-2006, 07:54 PM
|
#9
|
Member
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355
Rep:
|
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.
|
|
|
02-05-2006, 11:01 PM
|
#10
|
Member
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796
Rep:
|
won't kill as in
at any time you can still do `fortune`
manually at the command line
i suppose
|
|
|
All times are GMT -5. The time now is 06:23 PM.
|
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
|
|