Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] comand-line recording...
- Date: Sat, 26 Sep 2009 23:48:37 +0900
- From: Bruno Raoult <braoult@example.com>
- Subject: Re: [tlug] comand-line recording...
- References: <c0f4e2b00909252309q2f12e36q3ee4e6c5b628e414@example.com> <20090926092931.GH5873@example.com> <c0f4e2b00909260305u29f59c4dseeeb60f1d77e5c61@example.com> <20090926110314.GA16381@example.com> <c0f4e2b00909260523q36a12689rf15202638b19eb66@example.com> <20090926130503.GB16381@example.com> <87fxa9n5lx.fsf@example.com>
On Sat, Sep 26, 2009 at 23:27, Stephen J. Turnbull <stephen@example.com> wrote:Er ... doesn't sudo log every command it executes? How about
chown'ing every program that the user should execute to an otherwise
unprivileged account (with a nologin password and no
.ssh/authorized_keys, etc). Clumsy, but might be enough to get what
Bruno needs/wants.
Yes. sudo is an option. I had this idea too... For instance scripting a $HOME/bin
to all /usr/bin and /bin commands (to avoid typing "sudo")...
I just don't like the idea, it is not "elegant"...
Stephen, thanks for your answer... The idea is:
1) we log-in with our own id
2) we "su" to the generic account (this is logged)
3) I want the commands made from this generic account recorded
"script" is OK (for instance added to .profile, this is what I plan today), but just messy, as said in my first email...
Bruno.
--
2 + 2 = 5, for very large values of 2.
- References:
- [tlug] comand-line recording...
- From: Bruno Raoult
- Re: [tlug] comand-line recording...
- From: Curt Sampson
- Re: [tlug] comand-line recording...
- From: Bruno Raoult
- Re: [tlug] comand-line recording...
- From: Curt Sampson
- Re: [tlug] comand-line recording...
- From: Bruno Raoult
- Re: [tlug] comand-line recording...
- From: Curt Sampson
- Re: [tlug] comand-line recording...
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] comand-line recording...
- Next by Date: Re: [tlug] comand-line recording...
- Previous by thread: Re: [tlug] comand-line recording...
- Next by thread: Re: [tlug] comand-line recording...
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links