Re: allow only sftp?Apr 10 2003 11:54PM Chris Travers (chris travelamericas com) (1 replies)
Re: allow only sftp?Apr 11 2003 12:51AM Ben Lindstrom (mouring etoh eviladmin org)
set the shell to the sftp-server IE /etc/libexec/sftp-server
setting the shell to /bin/false will stop subsystems from working period.
Since subsystems do: $SHELL -c $SUBSYSTEM
- Ben
On Thu, 10 Apr 2003, Chris Travers wrote:
> Simple: Set the shell in the /etc/passwd to /bin/false
>
> This should allow for sftp access, but not access of any sort that requires
> running the login shell.
>
> Best Wishes,
> Chris Travers
>
> ----- Original Message -----
> From: "Rex Binns" <rex (at) kc.binns (dot) org [email concealed]>
> To: <secureshell (at) securityfocus (dot) com [email concealed]>
> Sent: Thursday, April 10, 2003 12:51 PM
> Subject: allow only sftp?
>
>
> > I need to allow a user only sftp access, but deny them ssh access?
> >
> > Is this possible, and if so, how do I do it?
> >
> > thanks
> >
>
set the shell to the sftp-server IE /etc/libexec/sftp-server
setting the shell to /bin/false will stop subsystems from working period.
Since subsystems do: $SHELL -c $SUBSYSTEM
- Ben
On Thu, 10 Apr 2003, Chris Travers wrote:
> Simple: Set the shell in the /etc/passwd to /bin/false
>
> This should allow for sftp access, but not access of any sort that requires
> running the login shell.
>
> Best Wishes,
> Chris Travers
>
> ----- Original Message -----
> From: "Rex Binns" <rex (at) kc.binns (dot) org [email concealed]>
> To: <secureshell (at) securityfocus (dot) com [email concealed]>
> Sent: Thursday, April 10, 2003 12:51 PM
> Subject: allow only sftp?
>
>
> > I need to allow a user only sftp access, but deny them ssh access?
> >
> > Is this possible, and if so, how do I do it?
> >
> > thanks
> >
>
[ reply ]