LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 03-09-2010, 02:24 PM   #1
ZAMO
Member
 
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 598

Rep: Reputation: 30
Sftp log issue on RHEL 4


I have a issue with sftp login for a particular user . When i try to connect using a user zamo am denied with the error
"Login denied"


But the /var/log/message states something as follows:

Code:
Mar  1 08:52:40 Bajdev01 sshd(pam_unix)[19293]: session opened for user zamo by (uid=0)
Mar  1 08:52:40 Bajdev01 modprobe: modprobe: Can't locate module char-major-10-224
Mar  1 08:52:42 Bajdev01 sshd(pam_unix)[19293]: session closed for user zamo

Is this error anything related to kernel module? If so, why its not affecting other users using the same sftp server?

Thanks
 
Old 03-09-2010, 09:23 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
Quote:
Originally Posted by ZAMO View Post
When i try to connect using a user zamo am denied with the error "Login denied"
"Login denied" alone says nothing. Try running it with "-v -v -v" for verbose messages and check /var/log/{secure,messages} on the sshd side for additional details?


Quote:
Originally Posted by ZAMO View Post
Is this error anything related to kernel module?
'grep '[[:blank:]]10 char' /usr/src/linux/Documentation/devices.txt' says its a mouse device so I think not. Adding a line "alias char-major-10-224 off" in /etc/modules.conf should suppress the warning.


Quote:
Originally Posted by ZAMO View Post
If so, why its not affecting other users using the same sftp server?
No idea. You don't list anything that could help solve it. Maybe start by diffing the 'sftp -v -v -v' log of two users, comparing their respective ~/.ssh/ contents and their /var/log/{secure,messages} login details on the sshd side?
 
Old 03-09-2010, 11:51 PM   #3
Smartpatrol
Member
 
Registered: Sep 2009
Posts: 196

Rep: Reputation: 38
...

Last edited by Smartpatrol; 03-11-2010 at 11:09 PM.
 
Old 03-10-2010, 12:32 PM   #4
ZAMO
Member
 
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 598

Original Poster
Rep: Reputation: 30
Unspawn,Smartpatrol,
Thanks for the reply.
I got a different error, for the same user for now .(but I did not changed anything).

Code:
Status:	Connecting to Bajdev01...
Response:	fzSftp started
Command:	open "zamo@Bajdev01" 22
Command:	Pass: *********
Error:	Authentication failed.
Error:	Critical error
Error:	Could not connect to server
/var/log/secure shows
Code:
Mar 10 11:12:57 Bajdev01 sshd[27552]: Failed password for zamo from 118.113.211.46 port 1501 ssh2
/var/log/message shows
Code:
Mar 10 11:15:04 Bajdev01 sshd(pam_unix)[29849]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=118.113.211.46  user=zamo
Mar 10 11:15:06 Bajdev01 modprobe: modprobe: Can't locate module char-major-10-224
 
  


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
sftp issue on rhel 5.4 protos78 Red Hat 12 01-12-2010 03:47 PM
No traces for sftp connetion in shell.log file !!!! sponarun Linux - Newbie 1 05-29-2009 04:51 PM
SFTP fails from RHEL 4.6 AS to Windows 2003 Server running WS_FTP valen_tino Red Hat 7 04-06-2009 02:24 PM
Sftp login does not write to /var/log/wtmp yitbos Linux - Newbie 2 03-25-2009 04:24 PM
Question on creating SFTP user in RHEL 4.0 a2vr6 Linux - Security 3 07-23-2008 01:07 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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