![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to start a chroot jail? | mojoman | UNIX for Dummies Questions & Answers | 1 | 04-18-2009 10:23 AM |
| CHRoot Problem | Crazy_murli | UNIX for Advanced & Expert Users | 2 | 01-09-2007 03:59 AM |
| FTPD, CHROOT, SMF and non-root user | CowsUdders | UNIX for Dummies Questions & Answers | 2 | 01-12-2006 12:06 PM |
| chroot environment | samurai79 | AIX | 0 | 08-10-2005 09:09 PM |
| chroot? | byblyk | Linux | 0 | 04-02-2004 11:50 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
openssh and chroot.
Hi all. I have installed openssh 5.3 and set up jailed root.
It works almost as I want it to I cant cd to any directory above my ch root. my config : entry in passwd: Code:
test2:x:103:113::/users2/test2:/bin/false Code:
Match User test2 ChrootDirectory /users2/%u # X11Forwarding no AllowTcpForwarding no ForceCommand internal-sftp /users2 owner root:root 755 /users2/test2 owner root:root 755 /users/test2/ftpfiles owner test2:mygroup 755 When I do sftp test2@testhost I enter in /users2/test2 but there I cant write so I have to cd into ftpfiles Is this the expected behavior? ? I expected to enter directly to a directory where I could write preferably, /users2/test2. Should I use other options to ChrootDirectory? Thanks in advance. /Jan Last edited by pludi; 3 Weeks Ago at 05:22 PM.. Reason: code tags, please... |
|
||||
|
Tested your suggestions.
Changing the shell did not resolve the problem Maybe I have to do otherthings to?
Changing owner of /users2/test2 to test2:mygroup 755 made things change but showed a strange behavior. sftp from winxp using wincsp logs me in to /users2/test2 and I can write and not change to any other directory exactly as I wanted it to be. BUT issuing sftp at command line from another solaris host after entering the passwd I get a "connection to host closed by remote host" I tried the ssh client that comes with solaris and /usr/local/bin/ssh but both fails. What is the difference between winscp and the cmd line sftp in solaris? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|