Pedro,
  Write a wrapper script for ls (i.e. ls -la $1 | grep $USER) then alias ls to your 
wrapper script in bashrc.  A user would only be able to see their own files.


Pete
-- 
http://www.elbnet.com
ELB Internet Service, Inc.
Web Design, Computer Consulting, Internet Hosting



pedro noticioso wrote:
> 
> the correct one is 701
> 
> I am still playing arround with an ILUSION, if David
> Copperfield made planes dissapear, I should be able to
> pull up my original stunt, that is that if "kid" user
> does this:
> 
> ls -la ~/..
> 
> he should ONLY see this:
> 
> [EMAIL PROTECTED] kid]$ ls -la ~/..
> total 20
> drwxr-xr-x    5 root root 4096 mar 11 07:35 ./
> drwxr-xr-x   21 root root 4096 mar 12 06:20 ../
> drwxr-xr-x   54 kid  kid  4096 mar 14 22:21 kid/
> [EMAIL PROTECTED] kid]$
> 
> insted of all user names in the system
> 
> --- [EMAIL PROTECTED] wrote:
> > True! But that chmod command also makes the user's
> > public_html
> > directory inaccessible for the local web-server.
> >
> > Wouter
> >
> > On 14-Mar-03 Peter Billson wrote:
> > > Pedro,
> > >   As root:  chmod 0700 /home/*
> > >
> > >   All home directories will then only be readable
> > / writable /
> > > executable by their owner.
> > >
> > > Pete
> >
> > --------------------------------------------
> > Wouter DeBacker ([EMAIL PROTECTED])
> > 14-Mar-03    15:55:42    (SuSE Linux Xfmail)
> > --------------------------------------------
> >
> >
> >
> -------------------------------------------------------
> > This SF.net email is sponsored by:Crypto Challenge
> > is now open!
> > Get cracking and register here for some mind
> > boggling fun and
> > the chance of winning an Apple iPod:
> >
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> >
> _____________________________________________________________________
> > Ltsp-discuss mailing list.   To un-subscribe, or
> > change prefs, goto:
> >
> >
> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> > For additional LTSP help,   try #ltsp channel on
> irc.freenode.net
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - establish your business online
> http://webhosting.yahoo.com
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:Crypto Challenge is now open!
> Get cracking and register here for some mind boggling fun and
> the chance of winning an Apple iPod:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.freenode.net


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to