LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-11-2006, 10:47 AM   #1
dsschanze
Member
 
Registered: Aug 2004
Location: Gainesville, FL
Distribution: Linux Mint 12, Win7, iOS
Posts: 208

Rep: Reputation: 33
/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
 
Old 10-12-2006, 03:38 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 10-12-2006, 05:26 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
/dev/null should be world writable:
Code:
chmod 0666 /dev/null
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"bash: /dev/null: Permission denied" on Ubuntu Login... sancho Ubuntu 10 10-07-2009 11:38 PM
ssh login with normal user, receive: /dev/null: Permission denied mark78301 Red Hat 3 11-12-2005 09:20 AM
/dev/null: Permission denied phoenix7 Linux - Distributions 1 10-01-2005 06:31 PM
Konsole = /dev/null: permission denied????? ithawtewrong Linux - Newbie 3 09-23-2004 05:39 PM
/dev/null: Permission denied LavaDevil94 Linux - Software 2 09-14-2004 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration