Hello Jan,
your issue might originate not from the terminal but from su itself.
This might be an interesting read:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904988#20
But in short, is instead of 'su' using 'su -' working
for you like expected?
Kind regards,
Bernhard