From owner-freebsd-questions Mon Jun 15 19:31:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA11883 for freebsd-questions-outgoing; Mon, 15 Jun 1998 19:31:52 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA11876 for ; Mon, 15 Jun 1998 19:31:50 -0700 (PDT) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.8.7/8.8.2) with SMTP id TAA20846; Mon, 15 Jun 1998 19:35:30 -0700 (PDT) Date: Mon, 15 Jun 1998 19:35:30 -0700 (PDT) From: Dan Busarow To: Malartre cc: questions@FreeBSD.ORG Subject: Re: /root:"chmod 600 .*" nothing work now In-Reply-To: <3585D0EB.389AA3D7@aei.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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