![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| On ROWNUM and Limiting Results | iBot | Oracle Updates (RSS) | 0 | 04-06-2008 06:10 AM |
| SSH keys and command limiting ... | moomain | UNIX for Dummies Questions & Answers | 1 | 01-29-2008 08:50 PM |
| limiting failed logins to three | csaunders | HP-UX | 1 | 10-18-2007 10:56 AM |
| Limiting telnet sessions on HP UX Box | Witlr | UNIX for Advanced & Expert Users | 2 | 02-25-2002 07:43 AM |
| Limiting access | misha | UNIX for Dummies Questions & Answers | 4 | 02-24-2001 07:25 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Limiting SFTP Users While Not Limiting Regular Users?
Hi,
I have searched the web and have come back with nothing that is satisfactory for what I require. SFTP is my corporations new file transfer standard. What I require is a method to lock down SFTP users to their directory (they may go to sub directories) while not restricting regular users. We setup a CHROOTed user in OpenSSH but it requires that the write option be disabled (for world and group) in all the parent directories of where we would like the SFTP user home directory to be. We tried to hard link the user directory to the location but it still requires write be disabled (for world and group) in the parent directories of the directory that is linked. An easy alternative would be to disable the CD command but once again I have not found a method to do so. Any ideas are greatly appreciated! Thanks ahead of time! |
|
||||
|
A more or less standard method is to chroot those users to their home directory - which is usually not part of the regular users directory tree.
see: best practices for chroot Best Practices for UNIX chroot() Operations script for a chroot jail: fuschlberger.net - Howto Setup a chroot-jail for ssh/scp with Linux ssh is the protocol for sftp and friends. sftp, sshd, ssh and scp are all part of the same thing. |
|
|||||
|
This article: Linux Configure rssh Chroot Jail To Lock Users To Their Home Directories Only
and its parent article: How to: Configure User Account to Use a Restricted Shell ( rssh ) look promising, hth. |
![]() |
| Bookmarks |
| Tags |
| sftp |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|