Skip to main content

SSH error on jailed shells (mesg)

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there!  Editing bashrc might be the correct thing to do here.  When I check both my personal AlmaLinux 8 machine as well as a test server, I don't see any "mesg" lines in the main /etc/bashrc file, so I'm wondering if that was added to your configuration at some point.

    0
  • Jman

    Thanks for getting back to me.  Assumed it was there on purpose, but then again, cPanel's been running on this VPS for > 15 years so there's bound to be a bit of kruft in there from earlier installations.  ;)

    Should have also mentioned I only recently turned on jailed shells, so hadn't previously seen the behavior.  Am pretty much the only one that administers this server but better safe than sorry in case some stray code from one account somehow gets in there (had a user's email credentials get compromised once and occasionally cc's were being added to a .ru address in valiases.  Didn't snap at first that it was just the one account.  PW change fixed that one, but since they were able to touch the aliases file via RoundCube, who knows what else they may have been able to mess up).

    Will remove the entry.  Take care!

    0
  • cPRex Jurassic Moderator

    Sounds good - let us know if you need anything else!

    0

Please sign in to leave a comment.