Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Restricting sftp commands |
|---|---|
| Date: | Wed, 21 Dec 2005 12:05:08 -0500 |
On Wed, Dec 21, 2005 at 09:35:52AM -0500, m l wrote:
I've install OpenSSH_4.2p1 with RSSH on Solaris 10. It only accept "sftp" . I block SSh and the others. But the user still able to do commands like "chmod" "put" ,"get" etc......under sftp. Is there any way, when the user is in sftp prompt, to limit him to only use for example "PUT" command ?
No. The best you can do would be something like to use scp with chroot jails. In such a case, you could periodically run a script to remove read permissions from all the files, making it impossible for the user to download. Your only other alternative would be to hack the sftp program to only allow the PUT command. Maybe someone has done that already... but I haven't heard about it. -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0x81CFE75D
pgpRVqQ5mk7Cc.pgp
Description: PGP signature
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Restricting sftp commands, Mark Senior |
|---|---|
| Next by Date: | RE: Restricting sftp commands, Fontanez Martin |
| Previous by Thread: | Restricting sftp commands, m l |
| Next by Thread: | RE: Restricting sftp commands, Mark Senior |
| Indexes: | [Date] [Thread] [Top] [All Lists] |