Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 1998 19:35:30 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        Malartre <malartre@aei.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: /root:"chmod 600 .*" nothing work now
Message-ID:  <Pine.BSF.3.96.980615192559.15772A-100000@java.dpcsys.com>
In-Reply-To: <3585D0EB.389AA3D7@aei.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Jun 1998, Malartre wrote:
> #pwd:
> /root
> #chmod 600 .*

> Even man page do not work, nothing work now. Only root.

When you say that root works, do you mean that you can log in
as root?

If so, just login as root and then

# cd /
# /bin/chmod 755 *

cd is a shell builtin so it will work
You need to specify the full path for any other command since you 
turned searching off but reading is still on for root.

You can then cleanup with

# chmod 644 .cshrc .profile boot.config boot.help kernel.config 
# chmod 444 COPYRIGHT
# chmod 555 kernel
# chmod 555 proc

That should fix everything for you.

BTW, the command you wanted was chmod 600 .??*

Dan
-- 
 Dan Busarow                                                  949 443 4172
 DPC Systems / Beach.Net                                    dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980615192559.15772A-100000>