Quote:
Originally Posted by aznium
ftp is not encrypted.
thanks tinkster, on 2nd thought - i would like to let the user have access to simple commands such as bzip2, dir, cp...but the motivation for it is to limit the user from being able to upload their own executable and run it...i guess this is pretty hard to do?
thanks
|
No, that can be done with a forced command, too.
Just present them with a menu written in shell
that lets them choose from a set of given actions,
and that will not let them do anything from which
they can shell out (e.g. emacs, vim), and maybe
a second login that only permits the scp/sftp.
You'd have to do it that way because forced
commands and scp/sftp are mutually exclusive.
ssh FAQ