From: Jeff Sadowski <jeff.sadowski@gmail.com>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: wall logging or run command each post?
Date: Mon, 23 Oct 2017 09:26:26 -0600 [thread overview]
Message-ID: <CAM9ceLh9xA4P7FZ3+v5sZ267F0EoAvqk1CV91iZg2fcbSy5Jcw@mail.gmail.com> (raw)
In-Reply-To: <CAM9ceLgCuBD6JE+qWGF=wfPwnnU_Cn91P5Yg=1EKuAC5zPQygw@mail.gmail.com>
Another reason was I was going to get the email addresses of everyone
having a process running on my machines and send them all emails of
the wall messages as well.
Doesn't shutdown typically send a wall message? It is messages like
these that I would like to get emails to all my users.
My machines are connected to Active Directory so I can use ldapsearch
to get their email addresses.
On Mon, Oct 23, 2017 at 9:14 AM, Jeff Sadowski <jeff.sadowski@gmail.com> wrote:
> One of the reasons I added this request:
>
> My default desktop is XFCE and it uses gnome-terminals. I don't get
> wall messages in gnome-terminals and I wanted a simple way to get wall
> messages to my screen I was thinking about using notify-send
>
> On Mon, Oct 23, 2017 at 4:53 AM, Karel Zak <kzak@redhat.com> wrote:
>> On Wed, Oct 18, 2017 at 02:06:25PM -0600, Jeff Sadowski wrote:
>>> I would like to know if this feature is built into wall or is there a
>>> good work around?
>>
>> wall is usually used by superuser. I guess if you can all "wall" than
>> you can also call for example logger to write to the system logs. I
>> don't see reason to merge functionally of these tools together.
>>
>>> I would like to configure wall to run a script after anything is posted to wall.
>>
>> Why? Maybe there is better way go get your goal.
>>
>>> I would also like to log all wall messages. I could easily do that
>>> with a script.
>>
>> yes, script(1) is the right way
>>
>> Karel
>>
>>
>> --
>> Karel Zak <kzak@redhat.com>
>> http://karelzak.blogspot.com
prev parent reply other threads:[~2017-10-23 15:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-18 20:06 wall logging or run command each post? Jeff Sadowski
2017-10-23 10:53 ` Karel Zak
2017-10-23 15:04 ` Jeff Sadowski
2017-10-23 22:20 ` Jeff Sadowski
2017-10-24 6:33 ` Jeff Sadowski
2017-10-23 15:14 ` Jeff Sadowski
2017-10-23 15:26 ` Jeff Sadowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAM9ceLh9xA4P7FZ3+v5sZ267F0EoAvqk1CV91iZg2fcbSy5Jcw@mail.gmail.com \
--to=jeff.sadowski@gmail.com \
--cc=kzak@redhat.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).