Thread View: news.software.nntp
3 messages
3 total messages
Started by John LaCour
Mon, 09 Jun 1997 00:00
INN 1.5.1 security question
Author: John LaCour
Date: Mon, 09 Jun 1997 00:00
Date: Mon, 09 Jun 1997 00:00
20 lines
1237 bytes
1237 bytes
I'm building an INN 1.5.1 NNTP server and because of security concerns wish to give the 'news' user access to only the executables needed to successfully run INN. In examing the source code, shell scripts, etc. It seems that there are numerous programs called via system(), exec(), popen(), and in the scripts. Has anyone gone to the trouble to make a list of all of these programs that 'news' needs access to? If so, a copy posted and/or emailed would be greatly appreciated. Thanks, -- John A. LaCour jal@pilot .net Pilot Network Services, Inc. 847.318.6614 http://www.pilot.net/ "Reality is perception."
Re: INN 1.5.1 security question
Author: Todd D. Taft
Date: Wed, 11 Jun 1997 00:00
Date: Wed, 11 Jun 1997 00:00
18 lines
1525 bytes
1525 bytes
It depends upon your configuration, of course, but you're missing sh and perl. Sh is used by news.daily and other scripts, and I think perl is used by pgpverify and several other of the standalones. Once you've got these, I'm not sure if this exercise really matters, as the scope of what these two programs can do is so broad... Even with your list, it's fairly easy to trash (rm -rf /) or hack (sendmail!) a system. Realistically, I think having a special user and group for news is probably adequate (i.e. the news user's default group is the group "news" and the news user isn't member of any other groups, especially not wheel). Be sure to install the INN security patches, as you'll likely have problems otherwise. -- Todd D. Taft taft@cs.unc.edu WWW: http://www.cs.unc.edu/~taft/ todd_taft@unc.edu U.N.C. Department of Computer Science Facilities Staff
Re: INN 1.5.1 security question
Author: John LaCour
Date: Wed, 11 Jun 1997 00:00
Date: Wed, 11 Jun 1997 00:00
61 lines
1781 bytes
1781 bytes
John LaCour wrote: > > I'm building an INN 1.5.1 NNTP server and because of security concerns > wish to give the 'news' user access to only the executables needed to > successfully run INN. > > In examing the source code, shell scripts, etc. It seems that there > are numerous programs called via system(), exec(), popen(), and in > the scripts. > > Has anyone gone to the trouble to make a list of all of these programs > that 'news' needs access to? If so, a copy posted and/or emailed > would be greatly appreciated. Well since no one seems to know or will share I did the work myself. The news user needs to be able to execute the following binaries: /usr/lib/sendmail awk basename cat chmod compress cp date echo egrep expr find grep gzip hostname ln mkdir mv pgp pgpverify pwd rm sed sleep sort tail test touch tr uniq If anyone thinks I'm missing any, please let me know. BTW, this is for INN 1.5.1 with pgp newgroup verification Regards, -- John A. LaCour jal@pilot .net Pilot Network Services, Inc. 847.318.6614 http://www.pilot.net/ "Reality is perception."
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads