message : mesg: ttyname failed: Inappropriate ioctl for device
ou
stdin: is not a tty
cat /root/.profile
# ~/.profile: executed by Bourne-compatible login shells.
if [ "$BASH" ]; then if [ -f ~/.bashrc ]; then . ~/.bashrc fi fi
mesg n
dernière ligne remplacer
mesg n
par
tty -s && mesg n
Pas de reboot nécessaire pour la prise en compte.
vlbid24p, wctsrv0011 et 12 Ubuntu 18