From owner-freebsd-sparc64@FreeBSD.ORG Tue Apr 8 08:58:34 2008 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBFBE1065670 for ; Tue, 8 Apr 2008 08:58:34 +0000 (UTC) (envelope-from ardelean@ww.uni-erlangen.de) Received: from servww6.ww.uni-erlangen.de (servww6.ww.uni-erlangen.de [131.188.238.13]) by mx1.freebsd.org (Postfix) with ESMTP id 4B7548FC1D for ; Tue, 8 Apr 2008 08:58:33 +0000 (UTC) (envelope-from ardelean@ww.uni-erlangen.de) Received: from localhost (ardelean@localhost) by servww6.ww.uni-erlangen.de (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id m388wTq23314; Tue, 8 Apr 2008 10:58:29 +0200 Date: Tue, 8 Apr 2008 10:58:29 +0200 (CEST) From: Gheorghe Ardelean To: Aijaz Baig In-Reply-To: <101a1afc0804071413r5c780432tcbf5f0e70fb4118@mail.gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-sparc64@freebsd.org Subject: Re: sudeors file not affecting user privileges X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2008 08:58:34 -0000 Hi, > *sudo: /usr/local/etc/sudoers is mode 0644, should be 0440 > *Well..what exactly is mode 0644 and how can I make sure that my users who > have been permitted to excute this command are in mode 0440? What exactly > are these modes and what do they mean? Aijaz, please look here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/permissions.html and 'man chmod' > Will something like *chmod 0440 sudoers* work to solve this issue? I am a > bit wary of experimenting with this so Id rather ask before doing it? This command should do it! It's removing the read flag for others and write flag for the owner, but please keep this in mind because next time you want to edit it the file will be readonly. If you want to get better results with this type of questions please use freebsd-questions list! Best regards, Gheorghe Ardelean.