From owner-freebsd-questions@FreeBSD.ORG Sun Feb 15 07:20:17 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 4757816A4CE for ; Sun, 15 Feb 2004 07:20:17 -0800 (PST) Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30BE243D1D for ; Sun, 15 Feb 2004 07:20:17 -0800 (PST) (envelope-from gerard-seibert@rcn.com) Received: from 207-237-110-41.c3-0.crm-ubr4.crm.ny.cable.rcn.com ([207.237.110.41] helo=Gerard) by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AsO47-00014b-00 for freebsd-questions@freebsd.org; Sun, 15 Feb 2004 10:20:15 -0500 From: To: Date: Sun, 15 Feb 2004 10:20:12 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Newbie Questions Regarding Command & Running Periodic Updating X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gerard Seibert List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2004 15:20:17 -0000 February 15, 2004 I am presently running FreeBSD version 5.2. Question # 1: When I type 'su' and subsequently type in my password, I am taken to the root. However, certain programs; i.e., 'portupgrade' will not run. If I = then subsequently type 'su' I a, presented with a new prompt although no = password is requested. I can now run programs like 'portupgrade' without = incident. I am unable to find any documentation that states I should be running the = 'su' command twice. Can someone explain to me what is happening here? Is this normal. Exactly how many levels are there? I thought that there were = only two: the log in level and root level. Is there a third level or is this = some sort of fluke. Question # 2: Second, while typing in search terms in Google, I came across this web = site - http://andrsn.stanford.edu/FreeBSD/newuser.html You will notice the entry about updating the database for the 'whereis' = and 'locate' commands. I have read the manual on 'locate' and tried running = the files mentioned manually, but alias all I receive is an error message = that the command does not exist. Again, I have no idea what I am doing incorrectly. Any assistance would be appreciated. Thanks in advance! Gerard E. Seibert gerard-seibert@rcn.com