If I expanded the number of users to less than 5 (all local login - one user at a time) would the answer be different?
Some of the background to my question below ...
I have been using Gentoo along with a couple of other distros (including Arch) for a few years now and have done a fresh install on a spare partition (attempting to use tripwire from a fresh install). I'm trying to get it setup the way I want which means:-
openrc for system boot with busybox mdev as the device manager
boot to command line login and use startx (when I want to use X)
IceWM as the window manager
Various applications such as firefox, claws-mail, leafpad, libreoffice, mupdf, gimp, smplayer and pcmanfm running in X.
Applications such as mplayer, links2 running using directfb. System admin cli only, cp/rsync/mv/chown/chmod/iptables etc cli only.
What I don't want - systemd, gnome, kde, xfce etc. I also don't want *kit, will suffer dbus if I must. I'll stick with mdev but if I do need to switch I'll go with eudev.
I have USE flags with most things including X disabled and will enable on a case by case base in /etc/portage/package.use.
I have sys-apps/systemd, sys-auth/consolekit, sys-auth/polkit, sys-fs/udev in /etc/portage/package.mask.
The point I have got to at the moment equery output indicates a few things requiring dbus, nothing needing polkit but pambase requiring consolekit.
Code: Select all
equery d dbus polkit consolekit pambase
* These packages depend on dbus:
app-text/ghostscript-gpl-9.05-r1 (dbus ? sys-apps/dbus)
dev-libs/dbus-glib-0.100.2 (>=sys-apps/dbus-1.6.2)
dev-libs/glib-2.32.4-r1 (test ? >=sys-apps/dbus-1.2.14)
net-print/cups-1.6.4 (dbus ? sys-apps/dbus)
net-print/foomatic-filters-4.0.17 (sys-apps/dbus)
* These packages depend on polkit:
* These packages depend on consolekit:
sys-auth/pambase-20120417-r3 (consolekit ? >=sys-auth/consolekit-0.4.5_p2012[pam])
* These packages depend on pambase:
app-admin/sudo-1.8.6_p7 (pam ? sys-auth/pambase)
net-misc/openssh-5.9_p1-r4 (pam ? >=sys-auth/pambase-20081028)
sys-apps/openrc-0.12.4 (pam ? sys-auth/pambase)
sys-apps/shadow-4.1.5.1-r1 (pam ? >=sys-auth/pambase-20120417)
sys-libs/pam-1.1.6-r2 (sys-auth/pambase)I initially built busybox with static USE flag so it had pam support disabled ... I just had to replace a few root:video and root:audio with numeric values on /etc/mdev.conf for that ...
So ... Is pam really going to be doing much for me? are there hidden/unintended consequences I should be aware of by removing pam from the system? is there another way of removing consolekit?
Portage does not complain with the addition of -pam, I don't mind keeping all the pieces on a fresh install but don't want to compromise system security unnecessarily



