shutdown as a user problems
Anthony Ewell
aewell at gbis.com
Sat Nov 18 04:23:03 CET 2006
Erik Harrison wrote:
> On 11/17/06, Anthony Ewell <aewell at gbis.com> wrote:
>> Brian J. Tarricone wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> On 11/17/2006 6:38 PM, Anthony Ewell wrote:
>>>> Brian J. Tarricone wrote:
>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>> Hash: SHA1
>>>>>
>>>>> On 11/17/2006 6:11 PM, Anthony Ewell wrote:
>>>>>> Hi All,
>>>>>>
>>>>>> I am trying to set up my first Linux workstation.
>>>>>> I am using XFce 4.2.
>>>>>>
>>>>>> I have done several servers before and always had root
>>>>>> privaliges. I can shutdown, poweroff, and reboot from
>>>>>> a command line, but not from the XFce power button.
>>>>>> I read the section in XFce session and added the
>>>>>> requested line to sudoers:
>>>>>>
>>>>>> %users ALL=/sbin/shutdown
>>>>>> %users ALL=/sbin/halt
>>>>>> %users ALL=/sbin/poweroff
>>>>>> %users ALL=/usr/bin/reboot
>>>>>> %users ALL=/usr/local/libexec/xfsm-shutdown-helper
>>>>>>
>>>>>> When I try to power off, I get asked for the root's
>>>>>> password, which I dutifully enter, then I get told I
>>>>>> do not have permission. No joy is to be had.
>>>>>>
>>>>>> What am I missing?
>>>>> You sure you're getting asked for the *root* password...?
>>>>>
>>>>> (Hint: you aren't. ^_^)
>>>>>
>>>>> -brian
>>>> I thought I was. But, it does not matter. This is a test bed
>>>> and I set all the passwords the same: root, users, everyone.
>>>> :'( AAAAAAAAHHHHHHHHHHHHH!!!!!
>>> Try running /usr/local/libexec/xfsm-shutdown-helper in a terminal and
>>> see what it outputs. Stupid question, but xfce *is* installed to
>>> /usr/local, right?
>>>
>>> Otherwise, Benny'll have to help ^_~.
>>>
>>> -brian
>>>
>> I did an "ls -al" on it and it really is there. It is
>> also owned and grouped by "root.root". (I vaguely remember
>> ownership had something to do with it, but can not recall
>> which archive I read it in.)
>>
>
> And what is it's output?
I will not be at the customer's site again till Monday.
What is it suppose to look like?
If it helps, after failing to shutdown XFce with
the XFce power button, attempting to do it a
second time pops up with reboot and power off grayed
out.
-T
More information about the Xfce
mailing list