The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Why is it always false? JeffR Shell Programming and Scripting 3 05-02-2008 11:11 AM
false use of sed??? trek Shell Programming and Scripting 4 04-23-2008 10:13 AM
syslog log_from_remote=false, port 514 problem pawan_marwar UNIX for Advanced & Expert Users 1 05-24-2007 03:59 AM
bin\false bryanthomas Linux 1 10-02-2006 09:58 PM
RAID level of array = false? scottsl AIX 0 05-17-2006 06:27 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-25-2008
Registered User
 

Join Date: Jul 2007
Posts: 91
will sftp work with /bin/false

helo

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
Reply With Quote
Forum Sponsor
  #2  
Old 06-26-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,200
/bin/false is related to shell / terminal allocation, it has nothing to do with sftp. If you need sftp, you have to allow shell access. If you need very restricted shell, look in Google for jail shell.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:56 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0