14 Replies Latest reply on Dec 7, 2014 3:53 AM by AlexT_Intel

    "mesg" in /etc/skel/.profile


      I tried to create a new user account with useradd. After logging in to the new account I got the following error message:

      -sh: mesg: not found

      It turned out that the .profile script references this tool. Removing the mesg line from both user's .profile and  /etc/skel/.profile suppresses it.

      So I suggest the change of /etc/skel/.profile for the upcoming Yocto Linux release into:

      # ~/.profile: executed by Bourne-compatible login shells.


      if [ -f ~/.bashrc ]; then

        . ~/.bashrc



      # path set by /etc/profile

      # export PATH