Re: limited shell access

2007-05-24 Thread Tom Evans
On Fri, 2007-04-27 at 20:38 -0400, 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
 

man 1 bash
/RESTRICTED SHELL/


signature.asc
Description: This is a digitally signed message part


Re: limited shell access

2007-04-27 Thread kalin mintchev
 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

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: limited shell access

2007-04-27 Thread Garrett Cooper

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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


limited shell access

2007-04-26 Thread kalin mintchev
hi all..

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
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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]