LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 06-26-2008, 01:01 AM   #1
amit_pansuria
Member
 
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

bhavin:x:2014:109:test:/home/pds_RBAC:/bin/false

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@148.147.165.46



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


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

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


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
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


All times are GMT -5. The time now is 09:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration