Re: restrict FreeBSD users to their home directory

2008-10-26 Thread Roland Smith
On Sun, Oct 26, 2008 at 12:13:17PM +0800, FBSD1 wrote: How do it configure FreeBSD to restrict users to their home directory? You can give the users rbash as their shell. This will restrict them to their home directory. But this can be easily broken out of if the user starts another shell! So

RE: restrict FreeBSD users to their home directory

2008-10-26 Thread joeb
BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Roland Smith Sent: Sunday, October 26, 2008 4:54 PM To: FBSD1 Cc: [EMAIL PROTECTED] ORG Subject: Re: restrict FreeBSD users to their home directory Want

Re: restrict FreeBSD users to their home directory

2008-10-26 Thread Roland Smith
On Sun, Oct 26, 2008 at 08:19:51PM +0800, joeb wrote: snip I don't want them to be able see any system directories or other users? User directories are by default both owned by the user and belong to the user's group. So you can set the umask for every user so that their files are not

Re: restrict FreeBSD users to their home directory

2008-10-26 Thread dick hoogendijk
On Sun, 26 Oct 2008 14:14:50 +0100 Roland Smith [EMAIL PROTECTED] wrote: On Sun, Oct 26, 2008 at 08:19:51PM +0800, joeb wrote: snip I don't want them to be able see any system directories or other users? User directories are by default both owned by the user and belong to the