From owner-freebsd-questions Fri Aug 2 23:01:04 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA02389 for questions-outgoing; Fri, 2 Aug 1996 23:01:04 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts7-line16.uoregon.edu [128.223.150.63]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA02383 for ; Fri, 2 Aug 1996 23:01:01 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id XAA00623; Fri, 2 Aug 1996 23:01:04 -0700 (PDT) Date: Fri, 2 Aug 1996 23:01:04 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: "Jose Olavio C. B. Felicio Junior" cc: questions@FreeBSD.org, olavio@microetc.com Subject: Re: New to FreeBSD In-Reply-To: <3202728F.762E@microetc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 2 Aug 1996, Jose Olavio C. B. Felicio Junior wrote: > Hi, > Congratulations on the Best Unix system I ever saw for Intel Machines. > I'm installing FreeBSD. > It seems very easy, at this point I have FTP,TELNET and Apache working. > I'm using 2.1.0 release. > and I really need the ircd on this machine, I tryied adding the package: > "Message: Unable to fetch package irc-2.8.21 from selected media(ftp.freebsd.org). > No Package add will be done." How did you add it? Try FTPing the package from ftp.freebsd.org and using 'pkg_add' from the command line to add it. > Then I try to run ircd and can't. > If I try as root: > "ERROR: do not run ircd setuid root. Make it setuid a normal user." > If I try as user: > "chdir: Permission denied" You need to follow the instructions. I would run 'chown daemon ircd' (maybe nobody?) to make it setuid daemon instead of root. Running it as root is a security hole (and running it at all probably is too :) ). > I'm trying to fix those problem for one week, and was unable to do it work! > I tryied adding in inetd.conf : > irc stream tcp wait root( tryed others too) /etc/ircd ircd -i That's OK, as long as that's what you're supposed to do to install it (ie, it doesn't run as a standalone daemon like httpd). Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major