From owner-freebsd-sparc64@FreeBSD.ORG Sat Apr 5 08:35:56 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 D898E106564A for ; Sat, 5 Apr 2008 08:35:56 +0000 (UTC) (envelope-from aijaz.abaig@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id 9F7C68FC0A for ; Sat, 5 Apr 2008 08:35:56 +0000 (UTC) (envelope-from aijaz.abaig@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so448549wfa.7 for ; Sat, 05 Apr 2008 01:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=lgP5fTQxeY17wm7U/9bJxYIrfm5K5XP1JXyaQdKWgZY=; b=DW/ez0kdz+pwseyjq3+0ulzDqt27MaNXOPmkdOnYoUduwq2Yv8YwSIeg5RIli2S77xjWKOtlWBWTXO3gBYR02FddERkMqrfhzIoqhJvLWRFAPCKEjmZbDhFmvqjtjppxz7XNMUO+w7Zzj/I9Fg9R+LMQG2TrnhqeaL3Yxxwr+30= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=EDkwF/a5/HLCO/jB1Bg/NS8/zfMRR8LBO78HcODlQzwO42CDiLQZt7y0ZoHDMNUxWZ/ZENZlEfF2X4cCzBZKCeqF5+n7JVAGT4bsjHgu498nh7m+YXIptPPqVOdu/J/1RxVys5BWbnZrRSVSTWG4gciX9AxWSigODPRw8iJfpAk= Received: by 10.143.44.3 with SMTP id w3mr129877wfj.346.1207384555888; Sat, 05 Apr 2008 01:35:55 -0700 (PDT) Received: by 10.142.44.3 with HTTP; Sat, 5 Apr 2008 01:35:50 -0700 (PDT) Message-ID: <101a1afc0804050135q430dd860rc00553e913054e3@mail.gmail.com> Date: Sat, 5 Apr 2008 10:35:50 +0200 From: "Aijaz Baig" To: freebsd-sparc64@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: cannot edit the sudoers file 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: Sat, 05 Apr 2008 08:35:56 -0000 Hello, I am not able to edit the sudoers file even though I do have sudo installed on the box. Theres been some confusion in my mind regarding what actually happened when I tried to install sudo. I did a *make install visudo* in the /usr/ports/securoty/sudo and I could see a lot of information in the terminal and finally it gave the following two messages: " ===> Compressing manual pages for sudo-1.6.9.14 ===> Registering installation for sudo-1.6.9.14 ===> SECURITY REPORT: This port has installed the following binaries which execute with increased privileges. /usr/local/bin/sudo /usr/local/bin/sudoedit If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.courtesan.com/sudo/ make: don't know how to make visudo. Stop " Now what is happening is that I can issue the sudo and the sudoedit commands from the terminal as they are in my path. However I still do not understand where to fetch the visudo wrapper from? Is it some kind of a scrip which is to be run from the terminal or what? AdditionallY I did all this as I wanted to have all my users access to the 'shutdown' command and for that i needed to edit the */usr/local/etc/sudoers *file and even though I use the following command "sudo emacs /usr/local/etc/sudoers" I am still not able to edit the file. I also tried using *sudo chown root: /usr/local/etc/sudoers *but to no avail. Could someone please help me. Hope to hear from you soon, Best Regards, Aijaz.