|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#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. Your help is appreciated. |
|
#2
|
|||
|
|||
|
Quote:
the dotfiles are concerned, not ssh in the dotfiles you can define what happen on login ssh is a login session su not su - is also a login session (note the - ) |
|
#3
|
|||
|
|||
|
Solaris banners
Hi guggachj
Can you pl tell me in which file I have to make the changes to ensure that the banner is displaed only just after logging and not while using 'su'. Thanks |
|
#4
|
|||
|
|||
|
According to the man page sshd will, by default, cat the contents of /etc/motd (see the PrintMotd option). This would not normally be printed by someone just doing an su, though it would be by someone doing an "su -" as guggach indicated.
The newest implementation of sshd available from OpenSSH includes a Banner option. You can take a look at the man page for it to get an idea of how to use this.
__________________
Need Java help? Want to help people who do? Sit down with a cup of Java at the hotjoe forums. |
|
#5
|
|||
|
|||
|
Solaris banners
Hi stdunbar
Your response is interesting. We are ok with our Sun Fire V65 Intel systems. The issue is with Sparc. In that again we are ok with SunFire 280. The second Sparc which is an Ultra 5/10 is displaying the banner both at user login and su. I have commented out the concerned line in /etc/ssd/sshd_config of Ultra 5/10 and the file is simialr to that one on SunFire 280.Still the banner is displayed. Any clues. Thanks |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Solaris banners |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|