Tech Support Guy banner
Status
Not open for further replies.
1 - 4 of 4 Posts

· Registered
Joined
·
18 Posts
Discussion Starter · #1 ·
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.
 

· Registered
Joined
·
18 Posts
Discussion Starter · #3 ·
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
 

· Retired Trusted Advisor
Joined
·
19,935 Posts
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.
 
1 - 4 of 4 Posts
Status
Not open for further replies.
Top