Hi.
I was under the impression that this would be an easy task to accomplish. However, after googling for a good while all I came up with was some rather weird and pseudo solution and not really a good way of doing it.
What is the reason this feature is not implemented into OpenSSH or any SSH in general? Is there a security threat?
I want to limit certain users (or groups) access to their home directory over both SSH and SFTP.
I recently came over an excellent script called lshell (http://lshell.ghantoos.org/) which basically had every feature I needed and more. With lshell I can restrict users access globally and individually and limit their access to /home/"user" and/or to for example /etc, /bin and if they try to access / or anything else they are not allowed to they will get a warning and eventually get kicked out.
This is genius! But I wonder why no such thing is not supported official by ubuntu or OpenSSH? Is it on the list of "TODO" things or is there a good reason this is not a feature (and I should not use lshell..)?
Thanks in advance,
Patrik.



Adv Reply




Bookmarks