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:
/etc/motd
sshd_config
, Banner is set tonone
, there is noForceCommand
/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