RE: allow only sftp?
From: Graeme Vetterlein (Graeme.Vetterlein@ntl.com)
Date: 04/11/03
- Previous message: Jean-Jacques DOTI: "Re: allow only sftp?"
- Maybe in reply to: Rex Binns: "allow only sftp?"
- Next in thread: Ben Lindstrom: "RE: allow only sftp?"
- Reply: Ben Lindstrom: "RE: allow only sftp?"
- Reply: Brian Hatch: "Re: allow only sftp?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Graeme Vetterlein <Graeme.Vetterlein@ntl.com> To: secureshell@securityfocus.com Date: Fri, 11 Apr 2003 11:19:01 +0100
> setting the shell to /bin/false will stop subsystems from
> working period.
>
> Since subsystems do: $SHELL -c $SUBSYSTEM
If this does what it sounds like, seems a pretty dumb decision.
I write a 'subsystem' in perl and expect the shell to be perl
I write a 'subsysyem' in C and don't care what shell is ruuning just
exec(2) me
I write a 'subsystem' in csh(1) and expect the shell to be csh(1)
But no way does it make sense to run 'MY' system in the 'prefered shell' of
'HIM/HER' .
In short it's the shell that the writer of the subsystem assumed which
should be used
not the shell shell that the end user happens to like. The shell the writer
should
assume is whatever one the ssh docs tell him it will be. So:
/bin/sh -c ${SUBSYSTEM}
or simply exec ${SUBSYSTEM}
Would be more reasonable??
-- Graeme The contents of this email and any attachments are sent for the personal attention of the addressee(s) only and may be confidential. If you are not the intended addressee, any use, disclosure or copying of this email and any attachments is unauthorised - please notify the sender by return and delete the message. Any representations or commitments expressed in this email are subject to contract. ntl Group Limited
- Previous message: Jean-Jacques DOTI: "Re: allow only sftp?"
- Maybe in reply to: Rex Binns: "allow only sftp?"
- Next in thread: Ben Lindstrom: "RE: allow only sftp?"
- Reply: Ben Lindstrom: "RE: allow only sftp?"
- Reply: Brian Hatch: "Re: allow only sftp?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|