Find the answer to your Linux question:
Results 1 to 5 of 5
Very new to this and need some help... I'm trying to setup user accounts on my server using Webmin... Each user I set up should only have access to their ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2004
    Posts
    1

    Need some help please...


    Very new to this and need some help...

    I'm trying to setup user accounts on my server using Webmin...

    Each user I set up should only have access to their folder and any folder they create under theirs when they log into the server using SSH Putty...

    They shouldn't be able to change directories out of their own folder( eg. cd / )

    How can I do this???

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    Try chrooting SSH logins...

    URL 1: http://chrootssh.sourceforge.net/index.php

    Jason

  3. #3
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    If you don't mind me asking, though - that seems like a rather strange request. Why wouldn't you want them cd'ing out of their home directories?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Quote Originally Posted by Dolda2000
    If you don't mind me asking, though - that seems like a rather strange request. Why wouldn't you want them cd'ing out of their home directories?
    I think he means cd'ing above their home directories.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  6. #5
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Yeah, that's what I meant as well. (Somehow I tend to consider subdirectories as being "inside" the home directory, even though I know that's wrong - that's probably why I wrote "out of")

Posting Permissions

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