From owner-freebsd-sparc64@FreeBSD.ORG Mon Apr 7 13:54:28 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 E4C17106566B for ; Mon, 7 Apr 2008 13:54:27 +0000 (UTC) (envelope-from aijaz.abaig@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.178]) by mx1.freebsd.org (Postfix) with ESMTP id 776318FC3E for ; Mon, 7 Apr 2008 13:54:27 +0000 (UTC) (envelope-from aijaz.abaig@gmail.com) Received: by ik-out-1112.google.com with SMTP id b35so527102ika.3 for ; Mon, 07 Apr 2008 06:54:26 -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=IYxI+0E42ML82nmk9Tzj+X3ubAoFCZAQgkRGBpiAG9g=; b=OrxKgPmrF/5/43W4+U0mLZrFknTKqTaf6G9c131c4IpvqpnlCY/pF2nLgiOzYEf3qT0vC6dxYgh5gX0VGnMO1oC35tsHXdpF16f59t+2qjkKLdWhskm6N33y4S5TpT9qyQ0FVAMDIbQbcwqijyDQlNK/wq1eLIi7R02UOsv36Tk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=MBasdsM8CBTbCtAvTNGp4kUoK1iloZ4kTf5LyFwCtau9g/ymbqBhLKLM28ANmaBGOp6FFp7r5Ti9vQJoTbyGAau8tP9pBYl7XrflhQ4COQlPWoYUBOVjk0R2DpEqxgS8F6/ynzbY+MUUvo65bVOQ9Me8K3+jMGg+KcCHe7cCbnw= Received: by 10.142.70.13 with SMTP id s13mr2418090wfa.162.1207576464511; Mon, 07 Apr 2008 06:54:24 -0700 (PDT) Received: by 10.142.44.3 with HTTP; Mon, 7 Apr 2008 06:54:24 -0700 (PDT) Message-ID: <101a1afc0804070654g7f4d09b6re3a8a6e928b0974b@mail.gmail.com> Date: Mon, 7 Apr 2008 15:54:24 +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: 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: Mon, 07 Apr 2008 13:54:28 -0000 Hello, I would like 'normal users' to be able to issue the shutdown command. For that reason I modified the 'sudoers' file and I uncommented the last line which now reads:* * *%users localhost=/sbin/shutdown -h now* However that didn't work. Then I thought maybe the users above refer to some user defined group called 'users. So I first created a group called 'users' and added 'masud' (one of my users) to that group. Still No luck.. Then I read a bit about how does one actually add stuff to that file and added(appended) the following to the file:* masud ALL=/sbin/shutdown -h now* Well..nothing yet..I always log in as as 'masud' and try to see if shutdown works (by issuing *shutdown -h now* from his account) and I get */sbin/shutdown: Permission denied * Well..How do I go about it... Please do let me know. Hope to hear from you soon, Best Regards, Aijaz Baig.