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: Tue, 29 Sep 2009 09:06:47 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] comand-line recording...
- References: <20090927154133.GD1381@example.com> <c0f4e2b00909272358v1d9cc34cl14985694b5aad177@example.com> <20090928072859.GH9366@example.com> <c0f4e2b00909280105g5f5a999br85458d793b35c6af@example.com> <20090928085710.GN9366@example.com> <c0f4e2b00909280232h7c228270ve8397314070f3eb9@example.com> <20090928095805.GQ9366@example.com> <c0f4e2b00909280519k6f0b25dbh2710d52814a39396@example.com> <20090928133838.GC17527@example.com> <c0f4e2b00909281105i6a0ec0d2r7cd7e3d1ec4714d@example.com>
- User-agent: Mutt/1.5.18 (2008-05-17)
On 2009-09-29 03:05 +0900 (Tue), Bruno Raoult wrote: > Well... This was my initial question. I need to "su/sudo" to some > account, and have a record of what I do... "sudo" is painful for every > command. And again, it will fail to record everything, as we discussed > previously. This is where you phrased the initial question improperly and cut off other, probably better, avenues towards your solution, your question had three propositions in it. The first two were: 1. I have to type lots of commands. 2. Typing "sudo" in front of lots of commands is a pain. However, in the form of your attack on the problem, you implied a third, that you never explicitly stated: 3. I must continue to type lots of commands. That leaves you only able to attack proposition 2, leading to the "use something other than sudo" conclusion. However, if you drop requirement #3, you can then attack it as "how can I type fewer commands," write a script that deals with your restart and other issues, and probably come out with something that will do better logging, better error checking, reduce the possibility of human error, and involve even less typing you than your solution using script. > I meant: not only the config file, but the "kill/restart" procedure, > that I want also to monitor. See above. (Though there's got to be more to it than this; the apache kill/restart procedure is already one command.) > We are no more in my initial question. Exactly my point. We don't want to be at your initial question because it's cutting off large parts of the solution space. > > Which will work fine until someone changes the prompt (as I usually do). > > This will not be an issue, as we can figure out which is your own prompt... This is not as simple as you might think, but I'm not going to go further on this one. cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com
- Follow-Ups:
- Re: [tlug] comand-line recording...
- From: Bruno Raoult
- References:
- 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: 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
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