[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to restrict browsing of other users directories



On Thursday 02 October 2003 18:53, Gene Ballard wrote:
> > > Gene Ballard wrote:
> > > Hi,
> > >
> > > I'm trying to find some info on restricting a users ability
> > > to browse
> > > the directory tree outside of their home directory.
> > >
> > > I have looked through the docs and searched on google, but
> > > have found no
> > > definitive answers.
> > >
> > > Where can I find a how to on this?
> >
> > man chroot
> >
> > --
> > NfoCipher <nfocipher chickenware com>
>
> Unless I'm missing something... I read the man chroot and chroot info
> but there is nothing that I see on how to configure ssh to chroot a
> users home directory so he can't browse other users directories.
>
> I have found some sketchy howtos on google but nothing difinitive and up
> to date.
>
> Respectfully,
>
> Gene
>
>
>
man chmod

the directory has to be rwx for the owner and - for everyone else

my systems lists /home as

drwx------ alex
drwx------ pinky
drwxrwxrwx samba
drwx------ tyche

samba is writable by all users, it contains the files that are d/l'd from the 
internet, alex, pinky, tyche are all users. NO ONE but the user and root can 
get into those directories.

hth

tyche




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]