public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Rafer@gmx.de
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] non-sudo way for user to run shutdown -h now? (or any equivalent)
Date: Wed, 20 Jul 2005 22:05:59 +0200	[thread overview]
Message-ID: <200507202206.04733.Rafer@gmx.de> (raw)
In-Reply-To: <5bdc1c8b05072010296257e670@mail.gmail.com>

On Wednesday 20 July 2005 19:29, Mark Knecht wrote:
> 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

Maybe with Console Aliases ? 

Like This ->http://gentoo-wiki.com/TIP_Powerdown_on_shutdown_-h




-- 
gentoo-user@gentoo.org mailing list



      parent reply	other threads:[~2005-07-20 20:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-20 17:29 [gentoo-user] non-sudo way for user to run shutdown -h now? (or any equivalent) Mark Knecht
2005-07-20 17:47 ` Richard Fish
2005-07-20 18:06   ` Mark Knecht
2005-07-20 19:16     ` Wade Brown
2005-07-20 21:15       ` Richard Fish
2005-07-20 21:17     ` Richard Fish
2005-07-21  1:49     ` Iain Buchanan
2005-07-20 20:05 ` Rafer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200507202206.04733.Rafer@gmx.de \
    --to=rafer@gmx.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox