no permission for root???

Garrett Cooper youshi10 at u.washington.edu
Fri Aug 12 22:46:37 GMT 2005


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


More information about the freebsd-questions mailing list