From owner-freebsd-questions@FreeBSD.ORG Tue Aug 17 21:46:49 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DF9C16A4CE for ; Tue, 17 Aug 2004 21:46:49 +0000 (GMT) Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3AD243D2F for ; Tue, 17 Aug 2004 21:46:48 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.160.193.218]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040817214648.EKZC14383.out010.verizon.net@[192.168.1.3]>; Tue, 17 Aug 2004 16:46:48 -0500 Message-ID: <41227CC2.7060303@mac.com> Date: Tue, 17 Aug 2004 17:46:42 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marc Cabanatuan References: <412279F4.7040805@wi.rr.com> In-Reply-To: <412279F4.7040805@wi.rr.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [68.160.193.218] at Tue, 17 Aug 2004 16:46:47 -0500 cc: freebsd-questions@freebsd.org Subject: Re: multi-homing and pf; removing user with uid 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 21:46:49 -0000 Marc Cabanatuan wrote: [ ... ] > Right now I've got a /27 and I am attemtpting to add 5 addresses of > that adress block (ipv4) to the box as either seperate addreses (not > aliases to the primary interface) or seperate addresses bound to > sub-interfaces. So far I have been unsuccessful and the host told me > to use aliases. FreeBSD doesn't let you configure multiple IP addresses within the same subnet. You will either have to use different netmasks, or else use aliases as recommended. > I also wish for these settings to stay after (re)boot. See /etc/rc.conf, and add something like: # Sample alias entry. #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" > Not to mention they say my firewall is the problem and they couldn't > get out to the internet from root console (im using pf and have the > rule of 'pass out all'. Hmm. > Next thing, a second account just 'showed up' on the box with uid 0. > > toor:*:0:0:Bourne-again Superuser:/root: - from /etc/master.passwd > > I suspect it was techs from the host, but I want it off the machine. > How do I do this? FreeBSD ships with a toor account available but disabled, which can be useful if someone breaks the shell used by the root account itself. If you want to get rid of it, run vipw. -- -Chuck