LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-22-2006, 04:08 AM   #1
kveaswaran
LQ Newbie
 
Registered: Jul 2005
Distribution: Centos 4
Posts: 3

Rep: Reputation: 0
su login problem


Hi all

We use putty to login into our redhat servers with 2.4.21-27.0.1.ELsmp kernel.

In a particular redhat server I am able to login as a normal user via telnet. sshd is running but I am not able to use ssh logins.

Even in telnet I am not able to use "su" or "su -" to switch to any other user. If I use su like

$su - user1

or

$su user1

the putty terminal just freezes. The putty client is fine as I do not have any problem in logging to other servers.

/bin/su has -rwsr-xr-x access rights, so suid is not a problem.
We have had similar problems before, but a reboot usualy solved it.
This time I want a permanent solution as rebooting often is not an option. As I am not able to login as root, I cannot view files like

/var/log/messages
/var/log/secure

Thanks
Easwaran.K.V
 
Old 06-23-2006, 04:50 AM   #2
etienne.navarro
LQ Newbie
 
Registered: Oct 2005
Posts: 13

Rep: Reputation: 0
Telnet is really insecure, and its strongly recommeneded using ssh instead.
Can you logon via ssh as a normal user? Normally logging in as root in ssh is forbidden for security reasons, look in your /etc/ssh/sshd_config file to enable root logins. If you can logon as a normal user in ssh then just su root once you're logged in.
 
Old 06-23-2006, 05:01 AM   #3
penguintutor
Member
 
Registered: Jun 2006
Location: UK
Distribution: Ubuntu, Mandriva, Redhat and Fedora
Posts: 118

Rep: Reputation: 15
You need to take a look in your log files and see if it gives a reason for the failure.

e.g. /var/log/auth.log
or syslog
 
  


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
login problem Kendo1979 Linux - Newbie 5 06-04-2005 10:46 AM
login problem legin Debian 3 05-25-2004 02:42 AM
login problem nandster Linux - Software 1 02-02-2003 10:10 AM
problem with login bash Linux - Security 2 09-12-2002 09:43 PM
Login Problem flyboy320 Linux - General 3 01-25-2002 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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