scp to directory w/o execute permissions

bscott at ntisys.com bscott at ntisys.com
Thu Dec 12 10:44:24 EST 2002


On Thu, 12 Dec 2002, at 10:06am, farinella at mcttelecom.com wrote:
> I think I've solved my problem by removing the path statement from
> .bash_profile for the user in question, so that we can scp files to the
> account, but the user can run no commands.

  If the user specifies the exact path to the command, it will still work.

  For example,

	ssh foo at bar /bin/sh

would give them a shell prompt.

-- 
Ben Scott <bscott at ntisys.com>
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or  |
| organization.  All information is provided without warranty of any kind.  |




More information about the gnhlug-discuss mailing list