LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-22-2005, 11:00 AM   #1
bharaniks
Member
 
Registered: May 2005
Distribution: Red Hat Linux
Posts: 36

Rep: Reputation: 15
Login bash


Hi,

I'm using a login script for a user to login to my linux box
which i've added in "/etc/passwd", able to use the script
successfully as bash. But using the same user unable to
login to the system via FTP port.

Do i want to change any other files ?

All your comments are most welcome.....
 
Old 09-22-2005, 11:42 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
What happens when the user tries to log in via ftp?
 
Old 09-23-2005, 02:50 AM   #3
bharaniks
Member
 
Registered: May 2005
Distribution: Red Hat Linux
Posts: 36

Original Poster
Rep: Reputation: 15
Got a error message

-------------------------
530 Login incorrect.
Login failed.
-------------------------
 
Old 09-23-2005, 11:04 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Which ftp server are you using? Are you seeing anything in the server-side logs? Can any users log in over ftp?
 
Old 09-26-2005, 01:04 AM   #5
bharaniks
Member
 
Registered: May 2005
Distribution: Red Hat Linux
Posts: 36

Original Poster
Rep: Reputation: 15
I'm using "vsftpd-1.1.0-1", No there is no logs on server side.

While logging in from user side only the error message
as mentioned before.
 
Old 09-26-2005, 11:20 AM   #6
Krugger
Member
 
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
You can't login because the ftp daemon is surely complaining of an invalid shell. Check you ftpd logs.
 
Old 09-27-2005, 12:17 AM   #7
bharaniks
Member
 
Registered: May 2005
Distribution: Red Hat Linux
Posts: 36

Original Poster
Rep: Reputation: 15
No I'm unable to find the error logs on ftpd and even in vsftpd, To resolve this
issue is there any other option. Say, where i can change the login shell for that
particular user.

Kindly suggest me a better option.
 
  


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
bash login problem Richard7890 Debian 4 01-02-2005 05:38 PM
Winbind + Bash + Login yvesg Linux - General 1 06-21-2004 05:19 PM
get bash before login? khucinx Programming 2 06-09-2004 09:04 PM
bash login Introx Slackware 4 05-31-2004 09:23 PM
How to login to bash shell inarin Linux - Newbie 1 10-07-2003 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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