summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2009-06-21 17:56:51 +1000
committerDarren Tucker <dtucker@zip.com.au>2009-06-21 17:56:51 +1000
commit51dbe503bf92ee38f003ffde4bb0a0d85c438ea7 (patch)
tree06f717fe453fb20d3265ac9864f8802002da0be9
parentf92077f05c7e1ebaf944da909e5a7ca7932443e0 (diff)
- stevesk@cvs.openbsd.org 2009/04/21 15:13:17
[sshd_config.5] clarify we cd to user's home after chroot; ok markus@ on earlier version; tweaks and ok jmc@
-rw-r--r--ChangeLog4
-rw-r--r--sshd_config.57
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dcc9932d..f2e6e8cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -47,6 +47,10 @@
- jmc@cvs.openbsd.org 2009/04/18 18:39:10
[sshd_config.5]
tweak previous; ok stevesk
+ - stevesk@cvs.openbsd.org 2009/04/21 15:13:17
+ [sshd_config.5]
+ clarify we cd to user's home after chroot; ok markus@ on
+ earlier version; tweaks and ok jmc@
20090616
- (dtucker) [configure.ac defines.h] Bug #1607: handle the case where fsid_t
diff --git a/sshd_config.5 b/sshd_config.5
index 916e019d..29f4d824 100644
--- a/sshd_config.5
+++ b/sshd_config.5
@@ -34,8 +34,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: sshd_config.5,v 1.105 2009/04/18 18:39:10 jmc Exp $
-.Dd $Mdocdate: April 18 2009 $
+.\" $OpenBSD: sshd_config.5,v 1.106 2009/04/21 15:13:17 stevesk Exp $
+.Dd $Mdocdate: April 21 2009 $
.Dt SSHD_CONFIG 5
.Os
.Sh NAME
@@ -188,6 +188,9 @@ Specifies a path to
to after authentication.
This path, and all its components, must be root-owned directories that are
not writable by any other user or group.
+After the chroot,
+.Xr sshd 8
+changes the working directory to the user's home directory.
.Pp
The path may contain the following tokens that are expanded at runtime once
the connecting user has been authenticated: %% is replaced by a literal '%',