Find the answer to your Linux question:
Results 1 to 3 of 3
I currently have a banner configured in sshd_config file. I want to disable that banner for one user. My goal is to have this banner show before login (or password). ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    1

    Question MOTD Banner Question


    I currently have a banner configured in sshd_config file.
    I want to disable that banner for one user.
    My goal is to have this banner show before login (or password).
    This is default behavior the way it is set up right now.

    I know if I use /etc/motd file instead and configure .hushlogin on user profile it will work, BUT motd gets displayed after you login.

    Please help.

    Thanks.

  2. #2
    Just Joined!
    Join Date
    Jul 2011
    Location
    Las Vegas NV
    Posts
    7
    So you want a different MOTD for just the one user or no MOTD for them at all?

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    The banner in SSH is for everyone and I do not believe it can be configured to skip just one user.
    I guess the question is, is it that important that one user not see the banner when logging in?
    The banner is shown after the user name is typed in and before the password is given.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •