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

Re: NO! chmod strikes!



On Sun, Jul 08, 2001 at 06:25:27PM -0400, JoshNarins@aol.com wrote:
> 
> Ah, I see now how -R and .* could get kinda crazy.
> 
> Thank you.
> 
> But I changed the perms of / a bit, but it still won't
> work (cd is now working for regular user, but no logins,
> nor does ls work).

/bin/login is setuid.  I think it bails out if it's permissions are
wrong (a security feature).

> Does anyone have a proper perms setup for / ?
> Is there any chance chmod -R o-rwx .* started working
> on subdirectories of / ?

Your safest bet is probably to reinstall.  Otherwise, you'll have a
terrible time trying to plug all the security holes you've probably
created.

-- 
Eric G. Miller <egm2@jps.net>



Reply to: