Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-26-2008, 01:01 AM   #1
Registered: Sep 2006
Posts: 73

Rep: Reputation: 15
will sftp work with /bin/false

helo I have create user for the group and entry for the user in /etc/passwd file is liek this


I have keep here /bin/false

now i m accesing user through sftp

ow when i access that user using sftp from the another linux pc
for e.g
sftp bhavin@

passwd:- ******

but here it shows me connection closed

why it happen

why i m not able to access this using sftp

what to do so that sftp work with /bin/false

Old 06-26-2008, 01:18 AM   #2
Mr. C.
Senior Member
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
SSH requires the ability to create a remote shell. /bin/false will not work.


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
More secure: check_shell=NO or /bin/false in /etc/shells? scavenge Linux - Security 1 07-13-2006 05:41 PM
question about /bin/false usage slacknewbie2 Slackware 4 02-15-2006 11:25 AM
problems with /bin/false reactnet Slackware 5 08-29-2005 11:19 PM
SSH Problem /bin/false ultrix Linux - Security 2 06-17-2005 08:31 AM
root /bin/false problem kaboom Linux - Newbie 6 10-24-2003 08:38 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration