Tech Support Guy banner

Solaris banners

1463 Views 3 Replies 2 Participants Last post by  Squashman
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.
Status
Not open for further replies.
1 - 2 of 4 Posts
I am not quite sure what you mean. Are you talking about the banner option in the sshd_config file.
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 - 2 of 4 Posts
Status
Not open for further replies.
Top