[gentoo-user] Re: shutdown for non-root users?

2014-03-11 Thread James
Jarry mr.jarry at gmail.com writes:


 how can I allow other (not-root) users to shut down system?
 Jarry

If the display manager is automatically configured to display
upon bootup, then any user (check group permissions) should be
able to shutdown the system, from the graphical choices
on the gui of the default  login screen, after loginout from
their session. In fact some graphical environments allow for a 
shutdown in lieu of exiting the login session(s).


Just a thought,
hth,
James








[gentoo-user] Hardened and python 3

2014-03-11 Thread James
hello,

Last time I researched a gentoo hardened environment, it
called for the default of Python to still be series 2 of the
software. I was wondering if anyone had any experience with
a Hardened Gentoo workstation that was using python 3
exclusively? 

Some various  other packages still using python 2, but which are not
formally part of a Hardened Gentoo system, are not of great concern to me.

curiously,
James






Re: [gentoo-user] Hardened and python 3

2014-03-11 Thread Michael Orlitzky
On 03/11/2014 02:46 PM, James wrote:
 hello,
 
 Last time I researched a gentoo hardened environment, it
 called for the default of Python to still be series 2 of the
 software. I was wondering if anyone had any experience with
 a Hardened Gentoo workstation that was using python 3
 exclusively? 
 
 Some various  other packages still using python 2, but which are not
 formally part of a Hardened Gentoo system, are not of great concern to me.
 

I know of no problems using python-3.x as the default interpreter on
hardened. Most if not all of my hardened machines are configured that
way, although packages are still free to request (and many still
require) python-2.x.





Re: [gentoo-user] Re: shutdown for non-root users?

2014-03-11 Thread Andreas K. Huettel
Am Dienstag, 11. März 2014, 19:40:23 schrieb James:
 Jarry mr.jarry at gmail.com writes:
  how can I allow other (not-root) users to shut down system?
  Jarry
 
 If the display manager is automatically configured to display
 upon bootup, then any user (check group permissions) should be
 able to shutdown the system, from the graphical choices
 on the gui of the default  login screen, after loginout from
 their session. In fact some graphical environments allow for a
 shutdown in lieu of exiting the login session(s).
 

As a side note, you need consolekit or systemd for that... that's what the 
*kit stuff is good for.

-- 

Andreas K. Huettel
Gentoo Linux developer 
dilfri...@gentoo.org
http://www.akhuettel.de/




Re: [gentoo-user] Hardened and python 3

2014-03-11 Thread Dustin C. Hatch
On 03/11/2014 01:46 PM, James wrote:
 hello,
 
 Last time I researched a gentoo hardened environment, it
 called for the default of Python to still be series 2 of the
 software. I was wondering if anyone had any experience with
 a Hardened Gentoo workstation that was using python 3
 exclusively? 
 
 Some various  other packages still using python 2, but which are not
 formally part of a Hardened Gentoo system, are not of great concern to me.
 
 curiously,
 James
 
 
 
 
The SELinux libraries for Python only exist for Python 2. Without them,
Portage will be unable to e.g. load policy and set file context. You can
have Python 3 installed, and it can be the default interpreter if
sys-apps/portage was built with USE=python2, but you cannot have *only*
Python 3.

-- 
♫Dustin
http://dustin.hatch.name/