ubuntu 14.04LTS切换root用户登录后提示
解决办法 /root/.profile中找到mesg n加入 tty -s后,重启即可
if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi
tty -s && mesg n
ubuntu 14.04LTS切换root用户登录后提示
解决办法 /root/.profile中找到mesg n加入 tty -s后,重启即可
if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi
tty -s && mesg n