TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:20851] sudo,file perms, and fetchmail



> I want to allow anyone in group admin have read/write access to the global
> fetchmailrc file -- if I change the perms on it to allow this, fetchmail
> says this is a security problem and won't run (perms must be 700). Is
> there a good way to give grou admin access with sudo -- I don't want to
> add a line for "vi /etc/fetchmailrc" since that will cause vi to be run as
> root and doesn't strike me as very secure. 

Here are two possibilities:

1. edit the fetchmail source so it doesn't check the permissions of the
file.
2. write a suid script that copies a new fetchmailrc onto the old one.
This could be a security problem...

-R