The button showing is a bug but it should be harmless as you need
console_user access for it to do anything. If you happen to be logged
in at the console also (i.e. jeff's mention
of /var/run/console/console.lock) then suspend will work as the account
is assumed to be the same user.
On Thu, 2006-03-23 at 11:36 -0500, Jeff Spaleta wrote:
On 3/23/06, Jeff Spaleta <jspaleta(a)gmail.com> wrote:
> On 3/23/06, David Wood <djwood1(a)qinetiq.com> wrote:
> > Trying out FC5, I'm rather surprised that an unpriviledged user can
initiate
> > suspend from a remote X terminal.
> > The shutdown option is missing (as expected)
> > but the suspend option remains.
>
> does it actually work?
> certaintly its a bugzilla... remote X terminal being able to suspend
> the hardware is...silly
and an additional question.... the user remotely logging is not also
logged in locally and thus has "console" ownership. Checkable by
looking at /var/run/console/console.lock
Though the fact that the shutdown option disappeared suggests to me
console ownership would not be an issue... though it has to be checked
for completeness.
-jef
--
John (J5) Palmieri <johnp(a)redhat.com>