From owner-freebsd-questions@FreeBSD.ORG Fri Aug 12 22:46:37 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 BDDB516A41F for ; Fri, 12 Aug 2005 22:46:37 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 513DE43D48 for ; Fri, 12 Aug 2005 22:46:37 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout3.cac.washington.edu (8.13.4+UW05.04/8.13.4+UW05.05) with ESMTP id j7CMkakd026909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 12 Aug 2005 15:46:36 -0700 X-Auth-Received: from [128.208.4.23] (shiina.dyn.cs.washington.edu [128.208.4.23]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.4+UW05.04/8.13.4+UW05.07) with ESMTP id j7CMka6A006794 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 12 Aug 2005 15:46:36 -0700 Message-ID: <42FD26D0.6070109@u.washington.edu> Date: Fri, 12 Aug 2005 15:46:40 -0700 From: Garrett Cooper User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: joda pain , FreeBSD Questions References: <9332ce4905081215117c558e7@mail.gmail.com> In-Reply-To: <9332ce4905081215117c558e7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: no permission for root??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2005 22:46:37 -0000 joda pain wrote: >I have ran a fresh install on the same hard drive 3 times. I log into >root without any problems. When I try to run simple commands like >checking virtual consoles (/etc/ttys) I get a "Permission denied". I >don't understand why this is happening. I can't access any admin >properties because of permissions. What am I doing wrong??? I'm using >vr. 5.4 > >Example: >login: root >password: > >NetwerksBSD# /etc/ttys >/etc/ttys: Permission denied > >There must be someone or some place I can get an answer for this question. >Right now i gather all my answers from man pages & FreeBSD Handbook >online http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html > > Try vim /etc/ttys or ee /etc/ttys. You do realize that /etc/ttys is a flat, non-executable file, correct? Are you sure you understand how Unix permissions/shell invocations work? I'm sure that someone here would be willing to teach you if that's the issue at hand. -Garrett