LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-15-2008, 09:56 AM   #1
mccartjd
Member
 
Registered: Apr 2008
Posts: 108

Rep: Reputation: 15
Smile Easy ? New to MOTD Text does not appear after login


I presume MOTD is what all users are presented with after a succesful login. I typed in some text, like "Dont do bad things" or somthing and logged out. When users login there is not Dont do bad things.

Is there somthing I need to start the warning banner when users login?

Thanks
John
 
Old 05-16-2008, 04:48 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
If you're talking about /etc/motd, TMK that will be displayed on text logins only. Are you perchance doing a GUI login?
 
Old 05-18-2008, 12:08 PM   #3
mccartjd
Member
 
Registered: Apr 2008
Posts: 108

Original Poster
Rep: Reputation: 15
Smile Motd Text Login Vs Gui

Blackhole54,

Ok that makes sense about text since my users login GUI. Is there a MOTD for users who login GUI. If not is there a default startup file for all users? I have not seen anything about a startup group when users login.

Thanks
John
 
Old 05-19-2008, 02:21 AM   #4
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by mccartjd View Post
Is there a MOTD for users who login GUI. If not is there a default startup file for all users? I have not seen anything about a startup group when users login.
I am not aware of any general mechanism set up to deliver a MODT that will work with a GUI. However there might be some things that you could adapt for your needs. I have little direct experience in this area so I can only point you in general directions.

One thing you could check out is to see what hooks the GUI login manager has. For example, I know that gdm has PostLoginScriptDir and PreSessionScriptDir (see /etc/gdm/gdm.conf, but put any changes in etc/gdm/gdm.conf-custom). The KDE login manager and xdm might have similar capabilities. I haven't checked.

The individual desktop environments (Gnome, KDE, etc) may also have features you can exploit. Again, the specifics will depend on the DE you are using. Gnome has System -> Preferences -> Session -> Startup_programs, which is set up for the indivual user to change. While this per-user GUI interface is not attractive from an administrative view point, there may be a conventient non-graphical way to adminster this. I really haven't gotten into that area. (maybe start by Googling "gconf".)

That pretty much exhausts my knowledge of this. So I wish you good luck!

Last edited by blackhole54; 05-19-2008 at 02:25 AM. Reason: cleanup
 
  


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
Easy string/text manipulation/indentation for restructured text brianmcgee Linux - Software 1 04-22-2008 09:27 PM
MOTD Text carlosinfl Linux - General 1 06-15-2006 09:11 AM
show motd on login pirozzi Debian 11 12-15-2004 11:40 AM
why does /etc/motd print twice at login SuSE9.0 ?? jdaniel Linux - Software 4 10-26-2004 02:34 PM
Login Message following MOTD kipbenson4 Linux - Newbie 5 08-05-2003 10:31 AM


All times are GMT -5. The time now is 04:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration