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.

What gives ?

Goody

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 !


Reply via email to