LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-12-2018, 11:39 AM   #1
samtrapp42
LQ Newbie
 
Registered: Jun 2018
Posts: 7

Rep: Reputation: Disabled
RHEL 6 logout banner


I need to have RHEL 6 display a logout message to all my users. RHEL 7 does this automatically. I have not had any luck researching this on line up to this point.

Anyone have experience with this?

-v/r,
sam
 
Old 10-12-2018, 11:56 AM   #2
lougavulin
Member
 
Registered: Jul 2018
Distribution: Slackware,x86_64,current
Posts: 257

Rep: Reputation: 91
Sorry, I went to fast. Not logout.

Last edited by lougavulin; 10-12-2018 at 11:57 AM.
 
Old 10-12-2018, 12:05 PM   #3
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 2,121

Rep: Reputation: 968Reputation: 968Reputation: 968Reputation: 968Reputation: 968Reputation: 968Reputation: 968Reputation: 968
While if you're paying for RHEL, they should be able to answer this for you;

The closest thing I could find was this.

One of the comments says it's enabled for CentOS 7 which is basically RHEL without the branding.

I have not tried it myself tho...
 
Old 10-12-2018, 01:05 PM   #4
samtrapp42
LQ Newbie
 
Registered: Jun 2018
Posts: 7

Original Poster
Rep: Reputation: Disabled
jsbjsb001 I already went through this link and it wasn't helpful.
https://unix.stackexchange.com/quest...-for-all-users

I'm searching through the red hat articles as well not finding what I'm looking for yet. Thanks.
 
Old 10-12-2018, 01:16 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,212
Blog Entries: 7

Rep: Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523
logout of a graphical session, or a tty session?
which shell?
i know bash sources ~/.bash_logout - maybe there's also a global version?
 
Old 10-15-2018, 10:32 AM   #6
bradvan
Member
 
Registered: Mar 2009
Posts: 309

Rep: Reputation: 59
I'm not sure I understand why you would want to do such a thing. Are you going to implement it for all shells, or restrict all users to using just one shell? You would have to institute some sort of delay in the logout process to make sure the user sees it. This will most likely irritate most users. I would just display whatever you need to say in the login banner. Your best bet if you really need to do it is open a ticket with Red Hat.
 
  


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
[SOLVED] Force Logout in RHEL 7.2 Workstation gly Red Hat 17 12-06-2016 08:52 AM
Adding banner to GDM Greeter theme (RHEL login screen) socalheel Linux - Newbie 1 10-26-2012 02:20 PM
rhel 5.5 hang logout salimshahzad Linux - Server 2 10-06-2010 08:43 AM
auto-logout in RHEL 3 pyroman59 Linux - Newbie 1 08-27-2009 02:18 PM
Adding banner to RHEL.xml mijohnst Programming 1 04-08-2008 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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