On Tue, 13 Dec 2011 19:52:02 -0500 mh <mhe...@member.fsf.org> said:

> 
> On Dec 13, 2011, at 6:48 PM, Carsten Haitzler (The Rasterman) wrote:
> 
> > On Tue, 13 Dec 2011 15:33:20 -0500 mh <mhe...@member.fsf.org> said:
> > 
> >> To fix this, tested on Debian Sid thought I suppose it works on other
> >> versions, edit the sysactions.conf file. Below the line that says "# root
> >> is allowed…", add your username as below: 
> >> 
> >> # root is allowed to do anyting - but it needs to be here explicitly anyway
> >> user:              root                            allow: *
> >> user:              your-username           allow: *
> >> 
> >> This is not especially elegant, but it works.
> > 
> > actually it's how sysactions.conf is meant to be used. it's an integration
> > point for packagers and administrators to decide who can do these actions.
> > maybe you name specific users with more privs because they are trusted,
> > maybe you use a group (operator, staff, admin etc.), maybe the command to
> > suspend or hibernate is different on your distro. who knows. it's the job
> > of the packager here to integrate this. :)
> 
> I meant that adding your username isn't elegant ;) I think using the groups

well it is one of the ways it's meant to be used - that's mostly for
administrators. a lot of user machines are really single user with one default
user (you) and maybe some auxiliary users for friends/guests/family at times
and these people may not get full access, but you will.

> to control this is, to me, more elegant. In Debian, I didn't belong to any
> other groups than my own. So I don't get any access with any of the groups
> listed in sysactions.conf.
> 
> To be able to get full access to the shutdown options using groups, add the
> user to one of the groups listed in sysactions.conf, such as audio, with
> usermod -a -G audio username. 
> 
> I discovered that this is why I had access to all the shutdown options in
> Arch, but not Debian. One of the (many) things I did getting Arch setup was
> to add my username to several groups, including audio. Never had to do this
> in Debian.
> 
> Don't know if there are any potential problems by adding users to the audio
> group, I suspect not really.

you can always add more lines listing more groups users end up being members of
- the default systactions.conf is really more an example of how to do it that
happens to work on some distros, but it may need customization based on each
distro.

> >> You can probably just use the group allow right below that, if you are a
> >> member of one of those groups. Or maybe add your own group and add it there
> >> too. 
> >> 
> >> Logout and back in, all options should be there.
> >> 
> >> mheyes
> >> 
> >> 
> >> On Dec 13, 2011, at 12:29 PM, Jeff Hoogland wrote:
> >> 
> >>> Nope never got this resolved on the Debian system.
> >>> 
> >>> On Tue, Dec 13, 2011 at 9:04 AM, Dustin Jenkins <at88...@shaw.ca> wrote:
> >>> 
> >>>> Did this ever get resolved?  I've had this problem since day one, it's
> >>>> weird, but I've kind of gotten used to it now.  The thought of fixing it
> >>>> is nice, however.
> >>>> 
> >>>> What are the proper permissions on sysactions.conf exactly?
> >>>> 
> >>>> Thanks,
> >>>> Dustin
> >>>> 
> >>>> 
> >>>> 
> >>>> On 21/11/2011 12:29 AM, Robert Krambovitis wrote:
> >>>>> On Sun, 2011-11-20 at 21:18 -0600, Jeff Hoogland wrote:
> >>>>>> .xsession-errors has four "Error: Unable to Assume Root Privileges"
> >>>> which I
> >>>>>> am assuming is related to my issue at hand.
> >>>>>> 
> >>>>>> Running *sudo ldconfig *didn't fix anything.
> >>>>>> 
> >>>>>> other ideas?
> >>>>>> 
> >>>>>> On Sun, Nov 20, 2011 at 8:41 PM, Carsten Haitzler<ras...@rasterman.com
> >>>>> wrote:
> >>>>>> 
> >>>>>>> On Sun, 20 Nov 2011 20:07:06 -0600 Jeff
> >>>>>>> Hoogland<jeffhoogl...@linux.com
> >>>>> 
> >>>>>>> said:
> >>>>>>> 
> >>>>>>>> So for some reason my normal users on a Debian based system with E
> >>>>>>>> can
> >>>>>>> only
> >>>>>>>> "lock" or "log out" from the system screen. I had this issue awhile
> >>>> back
> >>>>>>>> under Ubuntu based systems and the solution then was to set the
> >>>>>>>> proper permissions to the enlightenment_sys like so:
> >>>>>>>> 
> >>>>>>>> sudo chmod u+s /usr/lib/enlightenment/utils/enlightenment_sys
> >>>>>>>> 
> >>>>>>>> But that didn't resolve the issue here. What else could be wrong?
> >>>>>>> have u checked ~/.xsession-errors? another issue that happens is
> >>>> ldconfig
> >>>>>>> hasnt
> >>>>>>> been run to update ld.so.cache when library versions changed.
> >>>>>>> 
> >>>>>>> 
> >>>>>>> --
> >>>>>>> ------------- Codito, ergo sum - "I code, therefore I am"
> >>>> --------------
> >>>>>>> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
> >>>>>>> 
> >>>>>>> 
> >>>>>>> 
> >>>>>>> 
> >>>> ------------------------------------------------------------------------------
> >>>>>>> All the data continuously generated in your IT infrastructure
> >>>>>>> contains a definitive record of customers, application performance,
> >>>>>>> security threats, fraudulent activity, and more. Splunk takes this
> >>>>>>> data and makes sense of it. IT sense. And common sense.
> >>>>>>> http://p.sf.net/sfu/splunk-novd2d
> >>>>>>> _______________________________________________
> >>>>>>> enlightenment-users mailing list
> >>>>>>> enlightenment-users@lists.sourceforge.net
> >>>>>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> >>>>>>> 
> >>>>> Check that the proper permissions are set in sysactions.conf
> >>>>> 
> >>>>> 
> >>>>> 
> >>>>> 
> >>>> ------------------------------------------------------------------------------
> >>>>> All the data continuously generated in your IT infrastructure
> >>>>> contains a definitive record of customers, application performance,
> >>>>> security threats, fraudulent activity, and more. Splunk takes this
> >>>>> data and makes sense of it. IT sense. And common sense.
> >>>>> http://p.sf.net/sfu/splunk-novd2d
> >>>>> _______________________________________________
> >>>>> enlightenment-users mailing list
> >>>>> enlightenment-users@lists.sourceforge.net
> >>>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> >>>> 
> >>>> 
> >>>> ------------------------------------------------------------------------------
> >>>> Systems Optimization Self Assessment
> >>>> Improve efficiency and utilization of IT resources. Drive out cost and
> >>>> improve service delivery. Take 5 minutes to use this Systems Optimization
> >>>> Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
> >>>> _______________________________________________
> >>>> enlightenment-users mailing list
> >>>> enlightenment-users@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> >>>> 
> >>> 
> >>> 
> >>> 
> >>> -- 
> >>> ~Jeff Hoogland <http://jeffhoogland.com/>
> >>> Thoughts on Technology <http://jeffhoogland.blogspot.com/>, Tech Blog
> >>> Bodhi Linux <http://bodhilinux.com/>, Enlightenment for your Desktop
> >>> ------------------------------------------------------------------------------
> >>> Systems Optimization Self Assessment
> >>> Improve efficiency and utilization of IT resources. Drive out cost and 
> >>> improve service delivery. Take 5 minutes to use this Systems Optimization 
> >>> Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
> >>> _______________________________________________
> >>> enlightenment-users mailing list
> >>> enlightenment-users@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> >> 
> >> 
> >> ------------------------------------------------------------------------------
> >> Systems Optimization Self Assessment
> >> Improve efficiency and utilization of IT resources. Drive out cost and 
> >> improve service delivery. Take 5 minutes to use this Systems Optimization 
> >> Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
> >> _______________________________________________
> >> enlightenment-users mailing list
> >> enlightenment-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> >> 
> > 
> > 
> > -- 
> > ------------- Codito, ergo sum - "I code, therefore I am" --------------
> > The Rasterman (Carsten Haitzler)    ras...@rasterman.com
> > 
> 
> 
> ------------------------------------------------------------------------------
> Cloud Computing - Latest Buzzword or a Glimpse of the Future?
> This paper surveys cloud computing today: What are the benefits? 
> Why are businesses embracing it? What are its payoffs and pitfalls?
> http://www.accelacomm.com/jaw/sdnl/114/51425149/
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to