jeudi 29 janvier 2015

SSH message, source of a after-login greeting command


On a server previously adminstered by someone else i noticed non-standard after-login ssh message. It looks like this:



In case of problems please send an email to ....@.....

Disk quotas for user ***** (uid 1234):
Filesystem blocks quota limit grace files quota limit grace
/dev/mapper/asasdf 6094452 2147483648 2147483648 365672 0 0


The first part, "In case of ...." is in the /etc/motd. But the second, quota, is the hard part. I don't know where it came from. I checked:



  1. /etc/motd

  2. sshd_config, Banner is set to none, there is no ForceCommand

  3. /etc/pam.d/sshd, nothing relevant.


How this effect could be achieved?


EDIT: Distribution is PLD-Linux


Best Regards,

Kamil



Aucun commentaire:

Enregistrer un commentaire