Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash desktop dns driver drivers error ethernet excel freeze gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard network printer problem ram registry repair router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Solaris banners

Reply  
Thread Tools
chrs0302's Avatar
Junior Member with 18 posts.
 
Join Date: Aug 2004
Experience: Beginner
14-Jan-2005, 03:54 PM #1
Solaris banners
Hi

I want to restrict warning banner message only to user logins on to our servers which is done using SSH. Once after logging as user the banner should be displyed and not when use 'su' to become root. I know how to store the banner message in /etc/issue and /etc/motd files.What is the file
that is to be configured to achieve this?

Your help is appreciated.
Squashman's Avatar
Trusted Advisor with 18,706 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
14-Jan-2005, 04:51 PM #2
I am not quite sure what you mean. Are you talking about the banner option in the sshd_config file.
chrs0302's Avatar
Junior Member with 18 posts.
 
Join Date: Aug 2004
Experience: Beginner
14-Jan-2005, 05:00 PM #3
Solaris banners
This is the warning message that will be displayed just after login by any user.I just got some info that /etc/profile has to be modified in order to restrict this display only to users and not for root.

Thanks
Squashman's Avatar
Trusted Advisor with 18,706 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
14-Jan-2005, 05:06 PM #4
In the sshd_config file, you can have it not disply motd and just your custom banner or you can have it display both or none at all. I personally would not let anyone SSH or Telnet in using the root user. Root should be restricted to logging into the console only. I would use SUDO for your daily admin chores.

What does it really make a difference if the MOTD and banners show up. That must take up a fraction of a second of your day.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:56 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.