A root with out permission???

Submitted by Joda n00bie
on August 12, 2005 - 4:12pm

I have ran a fresh install on the same harddrive 3 times. I log into root without any problems. When I try to run simple commands like checking vitural 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
pasword:

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

/etc/ttys is not executable!

on
August 16, 2005 - 2:35am

The problem is not that you don't have permission to access the ttys, they are simply not executable. They are not programs. Thus, you can't execute them by simply typing their name in. If you want to see the contents of the directory, for example (if it is a directory), do "ls /etc/ttys". If you want to change your current directory into that one, do "cd /etc/ttys". Etc.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.