public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: James <wireless@tampabay.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Questions about History file
Date: Thu, 9 Jan 2014 21:00:48 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140109T215449-174@post.gmane.org> (raw)
In-Reply-To: 52CD7516.3040400@gmail.com

Alan McKinnon <alan.mckinnon <at> gmail.com> writes:


> I do know that once, long ago, I tried to get bash to do proper command
> logging for our general-purpose gateway hosts that have 500+ users. It
> was a nightmare and I eventually concluded that history, logging and
> such things are 100% the province of the user and not the sysadmin. It
> just caused way more trouble than it solved. I suspect what you are
> looking for is very much in the same category.


Maybe "script" can be use to parse the syntax strings into a user-defined
log file from the root shell...

You'd most likely want to use the "AND" logic operator of the history
buffer to campare against the "script" generated file to get a
clean copy; or something like that.   Seems like I did something
like that years (decades) ago, but the memory is not what it use
to be..... It should not be that difficult to write something from
scratch.....

good_hunting....

James






      reply	other threads:[~2014-01-09 21:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-08 12:10 [gentoo-user] Questions about History file Tanstaafl
2014-01-08 14:01 ` Bruce Hill
2014-01-08 21:27   ` covici
2014-01-08 22:08   ` Stroller
2014-01-08 15:56 ` Alan McKinnon
2014-01-09 21:00   ` James [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=loom.20140109T215449-174@post.gmane.org \
    --to=wireless@tampabay.rr.com \
    --cc=gentoo-user@lists.gentoo.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