Re: limited shell access



kalin mintchev wrote:
hi all..

is it possible to limit access for certain users only to a certain
directory tree - other then his/her home directory?

so... can i do that or not?



for example joe logs into his home directory where there is a symbolic
link to some other directory on the system but he can not go up a level
(to /home or / ) or anywhere else but home and the directory under the
symlink...

i looked at the ssh and sshd confs but apparently nothing there... still
looking...

thanks....

Yes, things like this can be done, but it involves a) making jails, b) limiting (limit.conf(8)) accounts, and c) setting up proper permissions so the user can write to all of the required files in their directory (.profile, .ssh/, etc at least). A lot of work if you ask me ... :).

-Garrett
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: limited shell access
    ... is it possible to limit access for certain users only to a certain ... directory tree - other then his/her home directory? ... To unsubscribe, send any mail to ...
    (freebsd-questions)
  • Re: limited shell access
    ... is it possible to limit access for certain users only to a certain ... directory tree - other then his/her home directory? ... man 1 bash ...
    (freebsd-questions)
  • limited shell access
    ... is it possible to limit access for certain users only to a certain ... directory tree - other then his/her home directory? ... for example joe logs into his home directory where there is a symbolic ...
    (freebsd-questions)
  • Limiting Access, can this be done?
    ... upload files to one of their Apache directories. ... but I want to limit access such that the user cannot go ... but I can still change directories and look around. ... Can this be done, limiting the users access to his home directory, ...
    (comp.security.ssh)
  • Re: chroot users in their homes with SUN_SSH on Solaris 9
    ... >directory tree in their home directory? ... you are right file permission should prevent that... ... I have more the 800 users, I have clever people and bloody stupid ones ...
    (comp.unix.solaris)