Permission denied as root for /etc/passwd
1. Signed in as root in RHEL 5 at the prompt [root@localhost ~]# and when I input the command, "/etc/passwd" the output is, bash: /etc/passwd: permission denied.
2. Next I tried to view the permissions of the file with "ls -l /etc/passwd". the output is, "-rw-r--r-- 1 root root 1980 Apr 17 15:16 /etc/passwd
It seems I have read and wite permissions for the file, and groups and users have read only.
What is you advice or suggestions?
Thanks in advance to all for your help.
Last edited by ltoni; 04-17-2012 at 05:27 PM.
Reason: clear up a bit