Re: a problem with linux 2.6.11 and sa

2005-03-16 Thread George Georgalis
On Wed, Mar 16, 2005 at 05:37:59PM -0500, Paul Jarc wrote: >"George Georgalis" <[EMAIL PROTECTED]> wrote: >> On Wed, Mar 09, 2005 at 06:28:35PM -0500, Paul Jarc wrote: >>> To simplify, what about these two: >>> mplayer foo.mpg >>> mplayer foo.mpg < mediafiles.txt >> >> The particular host does not

Re: a problem with linux 2.6.11 and sa

2005-03-16 Thread Paul Jarc
"George Georgalis" <[EMAIL PROTECTED]> wrote: > On Wed, Mar 09, 2005 at 06:28:35PM -0500, Paul Jarc wrote: >> To simplify, what about these two: >> mplayer foo.mpg >> mplayer foo.mpg < mediafiles.txt > > The particular host does not have X support so mpg is out. Well, use any one of the files list

Re: a problem with linux 2.6.11 and sa

2005-03-15 Thread George Georgalis
On Wed, Mar 09, 2005 at 06:28:35PM -0500, Paul Jarc wrote: >"George Georgalis" <[EMAIL PROTECTED]> wrote: >> It (Gerrit Pape's technique) very defiantly stopped working a few revs >> back (2.6.7?). I'm seeing a similar failed read from /dev/rtc and >> mplayer with 2.6.10, now too. > >The /proc/kmsg

Re: a problem with linux 2.6.11 and sa

2005-03-09 Thread Nix
On Wed, 09 Mar 2005, Paul Jarc uttered the following: > "George Georgalis" <[EMAIL PROTECTED]> wrote: >> It (Gerrit Pape's technique) very defiantly stopped working a few revs >> back (2.6.7?). I'm seeing a similar failed read from /dev/rtc and >> mplayer with 2.6.10, now too. > > The /proc/kmsg p

Re: a problem with linux 2.6.11 and sa

2005-03-09 Thread Paul Jarc
"George Georgalis" <[EMAIL PROTECTED]> wrote: > It (Gerrit Pape's technique) very defiantly stopped working a few revs > back (2.6.7?). I'm seeing a similar failed read from /dev/rtc and > mplayer with 2.6.10, now too. The /proc/kmsg problem happens because the kernel now checks for permission at

Re: a problem with linux 2.6.11 and sa

2005-03-09 Thread George Georgalis
On Wed, Mar 09, 2005 at 01:06:11PM +, Nix wrote: >> An interesting technique that allows a program (such as a log writer) >> to run as an unprivileged user, while receiving privileged data. (taken >> almost verbatim from Gerrit Pape's socklog) >> >> #!/bin/sh >> exec > exec 2>&1 >> exec softl

Re: a problem with linux 2.6.11 and sa

2005-03-09 Thread Nix
On Tue, 8 Mar 2005, George Georgalis announced authoritatively: > Here's what I'm doing that is broken. I use tcpserver (functionally > similar to inetd) to receive an incoming smtp connection. While the > smtp session is still open, the message is piped to a temp file which > is then scanned for s

Re: a problem with linux 2.6.11 and sa

2005-03-08 Thread Andre Tomt
George Georgalis wrote: Here is a problem with 2.6.10: while read file; do mplayer $file ; done or tail -n93 mediafiles.txt | while read file; do mplayer $file ; done for each file path in that text file I get: Failed to open /dev/rtc: Permission denied (it should be readable by the user.) ^- Thi

Re: a problem with linux 2.6.11 and sa

2005-03-08 Thread George Georgalis
On Tue, 8 Mar 2005 12:19:53 -0500, George Georgalis <[EMAIL PROTECTED]> wrote: > On Tue, Mar 08, 2005 at 11:58:14AM -0500, George Georgalis wrote: > >On Tue, Mar 08, 2005 at 01:37:03PM +, Nix wrote: > >>On Thu, 3 Mar 2005, George Georgalis uttered the following: > >>> I recall a problem a while

Re: a problem with linux 2.6.11 and sa

2005-03-08 Thread George Georgalis
On Tue, Mar 08, 2005 at 11:58:14AM -0500, George Georgalis wrote: >On Tue, Mar 08, 2005 at 01:37:03PM +, Nix wrote: >>On Thu, 3 Mar 2005, George Georgalis uttered the following: >>> I recall a problem a while back with a pipe from >>> /proc/kmsg that was sent by root to a program with a >>> use

Re: a problem with linux 2.6.11 and sa

2005-03-08 Thread George Georgalis
On Tue, Mar 08, 2005 at 01:37:03PM +, Nix wrote: >On Thu, 3 Mar 2005, George Georgalis uttered the following: >> I recall a problem a while back with a pipe from >> /proc/kmsg that was sent by root to a program with a >> user uid. The fix was to run the logging program as >> root. Has that prot