Re: Why can't I?
Oops - sure is.... I'll try to stick to subjects I know more about :)
ap
---------------------------------------------------------
Andrew J. Perrin - Assistant Professor of Sociology
University of North Carolina, Chapel Hill
269 Hamilton Hall CB#3210, Chapel Hill, NC 27599-3210 USA
andrew_perrin@unc.edu - http://www.unc.edu/~aperrin
On 13 Jun 2001, Dave Carrigan wrote:
> ANDREW PERRIN <aperrin@email.unc.edu> writes:
>
> > chmod o-rwx /
> > chmod o-rwx /home
>
> Ok:
>
> $ sudo chmod o-rwx /
> $ ls
> bash: ls: command not found
> $ ps
> bash: ps: command not found
> $ pwd
> /home/dave
> $ cd
> bash: cd: /home/dave: Permission denied
>
> Uh oh. Good thing I ensured that I started a root shell in another
> window to fix the damage *before* I tried this ill-advised experiment.
>
> As for the other poster's question: in general, users need to see other
> directories, like /bin and /etc. There are some convoluted ways to do
> what you want, but you have to decide for yourself whether tiny gain in
> security is worth the significant effort and deep understanding needed
> to do it.
>
> --
> Dave Carrigan (dave@rudedog.org) | Yow! .. I'm IMAGINING a
> UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | sensuous GIRAFFE, CAVORTING in
> Seattle, WA, USA | the BACK ROOM of a KOSHER DELI
> http://www.rudedog.org/ | --
>
> > On Wed, 13 Jun 2001, Auke van der Gaast wrote:
> >
> > > Hello,
> > >
> > > I'm quite new to Linux... I've tried everything I could find on the
> > > net regarding this issue, but still it doesn't work.
> > >
> > > I'm trying to restrict users' access to only their home dir
> > > (I don't want them to be able to see or reach / or even /home )
> > > I've already wasted half a day on just that, I'd really appreciate
> > > it if anyone could tell me what to do.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Reply to: