LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-20-2009, 06:29 AM   #1
mandrakeBren
Member
 
Registered: Jan 2009
Posts: 31

Rep: Reputation: 15
remove login message


hi all,

i installed Slackware 12.1 on my system.

after each login i receive a message ( quotes from people )

1. how do i remove those messages?
 
Old 04-20-2009, 06:32 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
chmod -x /etc/profile.d/bsd-games-login-fortune.sh


Pity you don't like them ;}


Cheers,
Tink
 
Old 04-20-2009, 06:59 AM   #3
mandrakeBren
Member
 
Registered: Jan 2009
Posts: 31

Original Poster
Rep: Reputation: 15
i don't mind them, there is just this one that is offensive ( mocking GOD, not very intelligent )

1.2 is there a way to remove only this one or must i remove the lot?
 
Old 04-20-2009, 12:56 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That'll depend on how the script invokes them. In
my install offensive fortunes shouldn't show up;
the line in the script has no modifiers, but only
file-names to choose from. If I *want* offensive
fortunes I need to specify either -a (all quotes)
or -o (only offensive quotes).

If you get offensive ones w/o those switches someone
seems to think differently about offensive than you do -
in that case you should be able to remove those
individually; they're stored in plain-text files under
/usr/share/games/fortunes



Cheers,
Tink
 
Old 04-21-2009, 03:12 PM   #5
mandrakeBren
Member
 
Registered: Jan 2009
Posts: 31

Original Poster
Rep: Reputation: 15
i went to /usr/share/games/fortunes
there i found a file with all of these "quotes"
i'm still busy editing it and making it the way i want it
thanx Tink <- keep well

Last edited by mandrakeBren; 04-22-2009 at 04:45 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup system Login banner and Login message 06-03-05 Linux - Newbie 10 03-11-2015 08:20 PM
How to remove the New Mail message? as400 Solaris / OpenSolaris 4 04-01-2007 03:42 PM
How do I remove this message anilbh Linux - General 2 08-04-2006 09:31 PM
login message jaredhanks Red Hat 1 06-12-2006 10:50 PM
login message killi Linux - General 3 06-27-2003 01:47 PM


All times are GMT -5. The time now is 06:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration