LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-15-2007, 01:51 AM   #1
dsids
Member
 
Registered: Mar 2006
Distribution: FC4
Posts: 184

Rep: Reputation: 31
machine not allowing login thru virtual console, only thru ssh


Hi,
I was recently faced with a strange situation with my RHEL3 machine.

The machine would not allow me to login from any of the virtual consoles, when I was physically present with the machine, but it allowed me to login through ssh over the network. When I tried logging in through root, using the virtual console, after asking for the password, an error of 'permission denied' would flash for a second before going back to the login console.

Can anyone tell me why was this happening?

Thanks
Danish

Last edited by dsids; 01-15-2007 at 01:53 AM.
 
Old 01-15-2007, 08:45 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
See if the console names are listed in /etc/securetty. This file lists console names from which root is allowed to log in. Allowing at least one local physical console is a good idea...and IMHO it is also a good idea to disallow remote root logins using ssh (log in as user and then use su or sudo to gain root privileges).

Refer to securetty(5) for more information.


Håkan
 
Old 01-15-2007, 12:46 PM   #3
dsids
Member
 
Registered: Mar 2006
Distribution: FC4
Posts: 184

Original Poster
Rep: Reputation: 31
Hi,
I uninstalld openssl and its devel package because I was trying to build apache. But then unfortunately using
#scp @hostname

gave me an error lybcrypto.so.4: no such file or directory..

so I restarted the sshd, but I lost the shell as soon as it stopped..Ever since Iv not been able to log in thru ssh..

#ssh @hostname: connection closed

Thanks
Danish
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH remote login fails after moving virtual machine novice_mage Linux - Networking 7 12-31-2006 07:53 AM
SSH back to virtual machine 07mackenzie Linux - General 1 12-13-2006 11:17 AM
Allowing root login to ssh only on LAN monkeyfoo Linux - Security 6 07-17-2006 10:42 PM
Can only log through ssh, not login console. narc Linux - Software 1 09-06-2005 12:23 AM
can't login to a Slack machine using a NIS account through ssh nIMBVS Slackware 2 07-15-2004 03:15 AM


All times are GMT -5. The time now is 05:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration