From owner-freebsd-questions@FreeBSD.ORG Thu Feb 17 08:42:26 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 877AC16A4CE for ; Thu, 17 Feb 2005 08:42:26 +0000 (GMT) Received: from mail.mosline.ru (mail.mosline.ru [193.27.41.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8933143D41 for ; Thu, 17 Feb 2005 08:42:25 +0000 (GMT) (envelope-from jamper@mosline.ru) Received: from [192.168.24.8] ([192.168.24.8] verified) by mail.mosline.ru (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 327290 for freebsd-questions@freebsd.org; Thu, 17 Feb 2005 11:45:32 +0300 Date: Thu, 17 Feb 2005 11:42:11 +0300 From: =?Windows-1251?Q?=D7=E5=F0=ED=EE=E3=EE=F0=F1=EA=E8=E9_=CC=E8=F5=E0=E8=EB?= X-Mailer: The Bat! (v3.0.1.33) Professional Organization: Mosline ISP X-Priority: 3 (Normal) Message-ID: <111442689.20050217114211@mosline.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: quoted-printable Subject: login permission over scp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: =?Windows-1251?Q?=D7=E5=F0=ED=EE=E3=EE=F0=F1=EA=E8=E9_=CC=E8=F5=E0=E8=EB?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2005 08:42:26 -0000 =0D=0AUsing scp without password (identy.pub authorized.key) in cron user1@A$> scp ./files user@b:/home/user/files all work but i need only secure copy, but must give full user shell to user user1@A on host B. if attaker take control of A, he can shell to user@b setting /sbin/nologin to shell user@B- scp not work what can i do to reduce permission user@b --=20 Michail V. Chernogorsky, Mosline ISP systems administrator tel. +7(095)782-45-33