Linux/Fedora: -bash: /dev/null: Permission denied

Every time I log in as user zooph I get these five identical error messages:
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied

Open in new window

LVL 16
hankknightAsked:
Who is Participating?
 
joolsCommented:
make sure the perms for /dev/null are 666 (crw-rw-rw-)
0
 
farzanjCommented:
Login as root

And issue the following command

grep zooph /etc/passwd

What is the output?

Do you get shell at all?
0
 
farzanjCommented:
Also issue the following command


ls -l /dev/null
0
 
TintinCommented:
Please list the contents of .profile and/or .bash_profile for the zooph user.
0
 
hankknightAuthor Commented:
Thank you all.  The permissions of dev null were wrong!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.