From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DvITg-0000CM-5e for garchives@archives.gentoo.org; Wed, 20 Jul 2005 17:35:28 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6KHXu51002304; Wed, 20 Jul 2005 17:33:56 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6KHTRT8032479 for ; Wed, 20 Jul 2005 17:29:28 GMT Received: by zproxy.gmail.com with SMTP id x3so1452570nzd for ; Wed, 20 Jul 2005 10:29:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=BqTm/x5H5Hyt6JHR+T0q6s+1hUQFDPjHG3HEoVnbCegAZu/TitjOu8VfpdaESxpG55Ck6BQtbYsRmU+2QTJuk8hE9sT/EX+n0tDCB235fez3qz2Hm/Z/yj6awPNqTCrF+xiozl6prc/PeaVoeZKhD9EVnf6qLZSF4gNFgB792rU= Received: by 10.36.147.20 with SMTP id u20mr255560nzd; Wed, 20 Jul 2005 10:29:04 -0700 (PDT) Received: by 10.36.57.9 with HTTP; Wed, 20 Jul 2005 10:29:03 -0700 (PDT) Message-ID: <5bdc1c8b05072010296257e670@mail.gmail.com> Date: Wed, 20 Jul 2005 10:29:03 -0700 From: Mark Knecht To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] non-sudo way for user to run shutdown -h now? (or any equivalent) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j6KHTRT8032479 X-Archives-Salt: 9e8d1af0-ea65-4afe-895e-314b05c3434a X-Archives-Hash: 1cd5c810fbcf37e7aff9ce8f712d4084 Hi, I'm trying to get my mythfrontend box to allow a user to shut the machine down without the use of a keyboard. We are only using remote controls. suso doesn't seem to be an option because it requires a password. (AFAICT) Is there some other way that I could make this work? I took a look at the permissions on /sbin/shutdown itself. It seems to be executable by everyone and still doesn't allow anyone other than to run it. Is there a way to make that program executable by everyone so that sudo is not required? Or maybe there's some similar program to shutdown that I could emerge? There's only two accounts on this machine - root & mythtv - and it's within the mythtv account that I want to be able to shut the machine down using a remote control only. Thanks for any and all ideas. Cheers, Mark -- gentoo-user@gentoo.org mailing list