Results 1 to 3 of 3

Thread: Using mesg

  1. #1
    Associate llista's Avatar
    Join Date
    Jan 2007
    Location
    European Union
    Posts
    21

    Question Using mesg

    I would like to use mesg in my computer to communicate with other users, as a default it comes mesg n, I change it to mesg y, but when I reboot the computer again mesg comes up as n.

    How can I make this change permanent? (mesg y)

  2. #2
    Put a shell script in your /usr/local/etc/rc.d folder called mesg.sh, chmod 755 that file, and add these contents to the file:

    #!/bin/sh
    mesg y


    That is if that's the command to make it "y".
    arrogance breeds ignorance

    Screaming Electron, Full of BSD Goodness

  3. #3
    That's normally set at terminal level.
    Therefore you will want to put that line in your .profile (or equivalent) or /etc/profile (or equivalent) to make it system wide.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •