Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 882
  • Last Modified:

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

0
hankknight
Asked:
hankknight
3 Solutions
 
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
 
joolsCommented:
make sure the perms for /dev/null are 666 (crw-rw-rw-)
0
 
hankknightAuthor Commented:
Thank you all.  The permissions of dev null were wrong!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now