From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: aliep@cimex.com.cu Newsgroups: gmane.os.tru64.managers Subject: ssh/sftp help required Date: Mon, 19 May 2003 16:50:00 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <0305191053.AA1053381091@ws3.cimex.com.cu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1053377621 11136 80.91.224.249 (19 May 2003 20:53:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 19 May 2003 20:53:41 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon May 19 22:53:37 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19HrdZ-0002t9-00 for ; Mon, 19 May 2003 22:53:37 +0200 Original-Received: (qmail 27745 invoked by uid 5); 19 May 2003 20:55:16 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 27736 invoked by uid 49493); 19 May 2003 20:55:16 -0000 Original-Received: from aliep@cimex.com.cu by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(0.3/5.0):. Processed in 0.379182 secs); 19 May 2003 20:55:16 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 19 May 2003 20:55:16 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HF50077BJG2WS@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 19 May 2003 16:55:14 -0400 (EDT) Original-Received: from intsrv.cimex.com.cu ([200.55.140.146]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with SMTP id <0HF50079QJFOYI@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 19 May 2003 16:55:09 -0400 (EDT) Original-Received: from [200.55.140.146] (HELO localhost) by intsrv.cimex.com.cu (AltaVista Mail V2.0J/2.0J BL25J listener) id 0000_0057_3ec9_441c_cdfb; Mon, 19 May 2003 16:52:44 -0400 Original-Received: from somewhere by smtpxd Original-Received: from somewhere by smtpxd Original-To: tru64-unix-managers@ornl.gov X-Mailer: ccMail Link to SMTP R8.31.00.5 Content-description: "cc:Mail Note Part" Xref: main.gmane.org gmane.os.tru64.managers:4280 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4280 Hi managers Scenario: AS2100, Tru64 5.1B PKI I'm trying to configure the ssh/sftp-server subsystem that comes shipped with the OS (SSH Secure Shell Tru64 UNIX (V1.1) 2.4.1). Both services are working fine, but I want to restrict users to their home dir only when they are connecting through sftp (but I want to let them able to go out from they home dir when connecting through ssh). Anybody had accomplish this?? It seems to me that the directive ChRootUsers of the configuration file /etc/ssh2/sshd2_config is intended to create an chroot environment for sftp as well as for ssh. Am I missing something or this is a normal issue?? Any help will be deeply appreciated. TIA, Aliep