LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 12: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 12:53 AM.
 
Old 01-15-2007, 07: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, 11:46 AM   #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



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 06:53 AM
SSH back to virtual machine 07mackenzie Linux - General 1 12-13-2006 10:17 AM
Allowing root login to ssh only on LAN monkeyfoo Linux - Security 6 07-17-2006 09:42 PM
Can only log through ssh, not login console. narc Linux - Software 1 09-05-2005 11:23 PM
can't login to a Slack machine using a NIS account through ssh nIMBVS Slackware 2 07-15-2004 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:53 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