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 > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-06-2005, 08:20 PM   #1
Blackout_08
Member
 
Registered: Jan 2004
Posts: 35

Rep: Reputation: 15
Fedora 2 system banner/message


I was trying to figure out how to change my system login banner and my system login message for an assignment. If someone could let me know i would appreciate it. I know it has to be something simple.

Im am currently have fedora boot in runlevel 3. So i would like to see the banner before the login prompt and the login message after I login. THANKS.
 
Old 03-06-2005, 08:53 PM   #2
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
/etc/issue or /etc/issue.net

One of both of them.

To give a login message after you login you can edit /etc/bashrc. This will affect everybody that logs in. There might be a better way to do that considering not all systems utilize a bashrc file. Conisder using /etc/profile or the directory /etc/profile.d/
 
Old 03-06-2005, 09:11 PM   #3
Blackout_08
Member
 
Registered: Jan 2004
Posts: 35

Original Poster
Rep: Reputation: 15
is there any kind of syntax i have to use when editing the files??

for the login banner i has to say "There are 10 types of people"
and for the login message it has to say "In theory"

Last edited by Blackout_08; 03-06-2005 at 09:13 PM.
 
Old 03-06-2005, 09:15 PM   #4
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
check out these 2 man pages:

man issue
man mingetty

To edit the bashrc or profile files just use bash scripting or sh scripting. If you don't know bash scripting then run a google search for help on that.

Last edited by benjithegreat98; 03-06-2005 at 09:20 PM.
 
Old 03-06-2005, 09:18 PM   #5
Blackout_08
Member
 
Registered: Jan 2004
Posts: 35

Original Poster
Rep: Reputation: 15
I looked. Im a newbie and im still baffeled. Ok i got the login banner to work. Still require some help with the login message

Last edited by Blackout_08; 03-06-2005 at 09:39 PM.
 
Old 03-06-2005, 09:57 PM   #6
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
On /etc/issue just make it say what every you want your banner to say. WYSIWYG. Note that you might want to write down what it used to say so you don't forget how to change it back.

On /etc/profile just add "echo In theory" to the end of it.

Last edited by benjithegreat98; 03-06-2005 at 09:59 PM.
 
Old 03-06-2005, 10:06 PM   #7
Blackout_08
Member
 
Registered: Jan 2004
Posts: 35

Original Poster
Rep: Reputation: 15
Hey thanks for your help. I appreciate your quick responses. Thanks
 
  


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
How to setup system Login banner and Login message 06-03-05 Linux - Newbie 13 07-24-2020 02:05 PM
Fedora Core 2 retarded boot banner Reefcrazed Fedora 1 08-24-2004 11:26 PM
vsftp banner message cyberone Linux - Software 4 01-16-2004 12:32 PM
banner message before telnet login digitalgravy Linux - Newbie 3 12-19-2003 02:31 PM
System Message Ruth Linux - General 1 03-20-2001 01:09 PM

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

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