Tim,
The owner is root and the group is tty .  However, my problem is the following. 
 When I check mesg in a terminal I get this:
john@debian:~$ mesgis yjohn@debian:~$ 
However, from another terminal (as root) I get this:
root@debian:/home/john# write johnwrite: john has messages 
disabledroot@debian:/home/john# 
How can it say 'mesg is y' and yet say that messages are disabled ?  I think I 
need to contact the Debian usersforum.  It's a bit too strange for me.
And what is strange is that when I have the NUT-Monitor running, wall appears 
to work.  It may well be somekind of permissions issue.  I will take it up with 
the Debian forum before I try changing the permissions.
John
 "Science is organized common sense. Philosophy is organized piffle" 
-attributed to Bertrand Russel
      From: Tim Dawson <[email protected]>
 To: john hart <[email protected]>; NUT Developers 
<[email protected]> 
 Sent: Wednesday, July 15, 2015 9:04 PM
 Subject: Re: [Nut-upsdev] Good news
   
ls -lia /<path>/wall will give you the owner and group . . . . 

Messages off . . . I think you are on the path . . . .

-Tim



On July 15, 2015 10:00:51 PM CDT, john hart <[email protected]> wrote:
Time, not sure who owner is, but I've tried as both admin and myself, to no 
avail.  However, I told you that mesg is y, buti tried to send a mesg using  ' 
write '  and it says I have messages disabled. ?????   I did that by opening 
two terminals, on I logged in as ' su ', and sent the message from there.  Is 
that peculiar? Might account for why I am notgetting anything from ' wall ' .
John "Science is organized common sense. Philosophy is organized piffle" 
-attributed to Bertrand Russel
      From: Tim Dawson <[email protected]>
 To: john hart <[email protected]>; NUT Developers 
<[email protected]>! ; 
Sent: Wednesday, July 15, 2015 8:52 PM
 Subject: Re: [Nut-upsdev] Good news
   
Who is the owner and group for wall? Note that it is set group ID to allow it 
to write to sessions . . . thus, that owner needs to be a system account that 
can write to devices, not just Joe-Bob . . . You might also try 'strace wall' 
to see what it is trying to do.

- Tim



On July 15, 2015 9:48:32 PM CDT, john hart <[email protected]> wrote:
Tim,
Thanks for the feedback.  I am the only user (standalone system), but I checked 
'mesg' and made sure it was set to 'mesg y' .   And the execute permissions for 
wall are   rwxr-sr-x  and the filename is has a  kind of orange 
highlightedbackground. Don't know what that means.! 
John "Science is organized common sense. Philosophy is organized piffle" 
-attributed to Bertrand Russel
      From: Tim Dawson<[email protected]>
 To: john hart <[email protected]>; NUT Developers 
<[email protected]> 
 Sent: Wednesday, July 15, 2015 7:43 PM
 Subject: Re: [Nut-upsdev] Good news
   
Any chance someone put 'mesg n' in the system profiles? That wou;d suppress 
wall output. Try typing just 'mesg' and see what it says . . . otherwise, check 
permissions ! on wallperhaps . . .

- Tim



On July 15, 2015 7:43:38 PM CDT, john hart <[email protected]> wrote:
Tried 'echo hi | wall' and no message.  I looked at 'wall -h' and it would seem 
that it is supposed to.  I eventried  ' wall  [<filename> | <message>] '  and 
got nothing.   Not sure what that means, as when using theNUT-Monitor program I 
get banners and a 'message' on the system try.   Strange !
John   "Science is organized common sense. Philosophy is organized piffle" 
-attributed to Bertrand Russel
      From: Charles Lepple <[email protected]>
 To: john hart <[email protected]> 
Cc: NUT Developers <[email protected]> 
 Sent: Wednesday, July 15, 2015 6:12 PM
 Subject: Re: Good news
   
On Jul 15, 2015, at 12:38 PM, john hart <[email protected]> wrote:

> So, the system shut down and turned off the UPS, which is exactly what ! I 
> wouldhave expected.  Also, when I 
> reconnected the AC power the system did NOT automatically start up, which 
> again is what I would have wanted,
> and hoped for.  

Good to hear!



> So, in conclusion, NUT appears to be working correctly.  Just wish I new why 
> I wasn't getting messages.  But I 
> can live with the way it is.  Thanks for all your help and a big thank you to 
> the developers.  

Not sure if you mentioned, but if you run something like "echo hi | wall", does 
it broadcast a message? If not, I'd say that's a bug in wall, but you could 
configure upsmon to run a different program to send a message.
! 
-- 
Charles Lepple
clepple@gmail




   
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

   

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

   

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

  
_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev

Reply via email to