Thanks for the info and the numerous replies from others !!
This is consistent with what I'm seeing. Time to break out the C
compiler.
g o o d y @ v o i c e n e t . c o m
Powered by RedHat Linux 5.1 -- a free UNIX-based operating system !
On Tue, 19 Jan 1999, Cort wrote:
>
> On 18-Jan-99 Goody wrote:
> > Greetings
> >
> > I'm writing a "wrapper" shell script to write to a log file when someone
> > invokes telnet.
> >
> > The script is doing something like this :
> >
> > echo "yada yada" >> /var/log/telnet.log
> >
> > I don't want regular users to have read/write access to the file, so I
> > stick bit the scipt (rwsr-xr-x) with root as the owner and made
> > /var/log/telnet.log rw-rw---- , with root as the owner. No matter what I
> > do, I get "permission denied" on /var/log/telnet.log when running the
> > script as a regular user.
>
> For security reasons, you can't suid a script. You'll need to either convert
> your script to a program, or write a program that runs the script. The second
> option is poor for security and should be avoided.
>
> Cort
> [EMAIL PROTECTED]
>