Find the answer to your Linux question:
Results 1 to 2 of 2
I am setting up a web server and want to allow clients to access their directories via restricted terminal and ftp... Idealy, they will be jailed to thier home directory ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    1

    rssh questions... searh = 0 results..


    I am setting up a web server and want to allow clients to access their directories via restricted terminal and ftp...

    Idealy, they will be jailed to thier home directory for both forms of access. I have vsftp setup with chroot so it works fine, but ther terminal access is a bit trickier.

    Client user directories are in /var/www/html/USERNAME

    I have installed the newest rssh following some online tutorials and eddited the rssh.conf file to include the line:

    user=test_user:002:000111:/var/www/html/test_user

    022 is the value returned from umask when logged in as the test user...

    I also set the shell for the test user to /usr/bin/rssh by running:

    usermod -s /usr/bin/rssh test_user

    Now, when I try to login with putty, the connection just closes once I put the password in.

    Any help would be greatly appreciated.
    thanks!

  2. #2
    Just Joined!
    Join Date
    Feb 2008
    Location
    France - Paris
    Posts
    18
    Hi,

    Have you modify /etc/passwd file ?

    regards,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •