MESSAGE
DATE | 2017-11-22 |
FROM | artoo
|
SUBJECT | Re: [Hangout - NYLXS] [artix-general] elongind and X
|
chmod of loginctl is not really good idea.
Why don't you simply set up a polkit rule that does not allow user shutdown?
I don't iget it, you you seem to have a talent to shoot yourself in the foot?
On 22.11.2017 18:08, Ruben Safir wrote: > On Wed, Nov 22, 2017 at 05:34:54PM +0100, artoo wrote: >> I love these one liners. >> > What else would be needed aside from one line. I discovered that > loginctl allows regular users to shutdown the system. I can't have > that. Such behavior does an end around the core unix security. I tried > to remove elongd and it said X was a dependendcy. > >> Simple answer, you can't, you would need to rebuild xorg. >> > can I do that and make it a package to admin with pacman? > > >> Are you sure your special requirements are met with any binary distro? > Its been nearly a decade since I tore through gentoo. Its not > relaistic. What I need is a distro that is systemd free, and new > options are always looked at. > > things look like they will get worse with wayland barking at the door. > > for the momemnt I chmod 0000 loginctl, but the underlining design flaw > continues of giving root access to normal users though polykit etc > continues. > > >> Such stuff is easy on gentoo for example, but your needs are not >> really well addressed with a binary package distro. >> >> Packages on binary distros are compromises, how much of its compile >> features to enable. >> >> Simply speaking, gentoo allows you to customize to very high degree, >> since you compile the packages from source yourself. >> > Maybe I can compile an x package that doesn't hook into councilkit et > al through gentoo. > > > >> Artoo >> >> >> On 22.11.2017 16:35, Ruben Safir wrote: >>> How do I get rid of loginctl and elongd and keep X? >>> >>> _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
|
|