LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   /dev/null permission denial on login (https://www.linuxquestions.org/questions/linux-general-1/dev-null-permission-denial-on-login-491456/)

dsschanze 10-11-2006 10:47 AM

/dev/null permission denial on login
 
Hey,

I run a redhat 9 server and have been receiving this message when trying to login via ssh

Code:

Server refused to allocate pty
-bash: line 28: /dev/null: Permission denied
                                            -bash: line 4: /dev/null: Permission denied

How can I fix this, as I just reinstalled the other day due to have some problems mounting the proc file system and other problems on boot. I have not been able to get it rebooted because it is in a remote location...I can get someone there to reboot it for me, but I would like to know if that is going to work.

Thanks for any help,
Derek

Tinkster 10-12-2006 03:38 AM

Can't really say what's going on, what does your .bash_profile, .bashrc
look like? And how did you edit those? I find the spacing in the output
most peculiar.



Cheers,
Tink

jlliagre 10-12-2006 05:26 AM

/dev/null should be world writable:
Code:

chmod 0666 /dev/null


All times are GMT -5. The time now is 12:59 PM.