From owner-freebsd-questions Fri Dec 8 11:20:38 2000 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 8 11:20:37 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from everest.iowaone.net (everest.iowaone.net [12.13.110.22]) by hub.freebsd.org (Postfix) with SMTP id D7EE037B400 for ; Fri, 8 Dec 2000 11:20:36 -0800 (PST) Received: (qmail 18697 invoked from network); 8 Dec 2000 19:28:08 -0000 Received: from everest.iowaone.net (12.13.110.22) by everest.iowaone.net with SMTP; 8 Dec 2000 19:28:08 -0000 Date: Fri, 8 Dec 2000 13:28:07 -0600 (CST) From: "Nicolai L. Brown" To: Nicolas Cc: Subject: Re: scp only In-Reply-To: <015001c0613c$7b3c1100$0364000a@rachinsky.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 8 Dec 2000, Nicolas wrote: > Hallo, > > I want to let a user upload files via scp to one of my machines, but i > don't want to give him the possibility to log in or start any programs > except scp. Is there any easy way to achieve this. I can't find such > an option in the ssh docs. Thanks in advance.. You might try giving them a csh shell, and a ~/.login file containing the word "logout", and owned root:wheel. Also, chown their .cshrc and .tcshrc files to root:wheel, so they cannot overwrite those with their own via scp. Don't know if this is the best solution, but it will work. Nicolai > > Nicolas > > PS: Please CC me To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message