• Re: [gentoo-user] What does su user flag actually mean?

    From Michael@21:1/5 to All on Mon Oct 21 12:29:46 2024
    On Monday 21 October 2024 12:07:47 BST gevisz wrote:
    I skipped updating my profile from 17 to 23 in the beginning of June 2024
    and are now installing Gentoo anew. I have disabled pam use flag globally
    and now portage complains that for the package linux-utils "the following REQUIRED_USE flag constraints are unsatisfied: su? ( pam )"

    I have tried and found out that that package will compile if I also disable the su user flag. However, I do not understand the consequences.
    The explanation of the su user flag says that with +su user flag
    linux-utis will be compiled into "the su program"

    Can somebody explain to me what it means?

    Thank you.

    The su command (Substitute User) can be built either by emerging the sys-apps/ util-linux package with USE="su", or by emerging the sys-apps/shadow package similarly. The wiki states "Avoid installing both these commands simultaneously":

    https://wiki.gentoo.org/wiki/Su

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmcWOyoACgkQseqq9sKV Zxnjpw//XrNzyDc+oDyOOKYRJMHtyKDrXQDHyrmiwcKgjNNnsFwqTLL0CaopgUFj tjpvqJg/peLEO0jfrwdWbYurRQR7XQCGGSgUOdu4IrDQMo/wsnUEv1jYknw0rxCJ pk/0u1+/up5yiRfO4+lVjSljdyGiTgKO/4ENgb8TbQrmGvQxCPjVw1jU+bNeAxxu VIm396hHvbK/P1BSkfhJwu6LTJERtFFX7w4xfDqWHMYEhVBlGHz9lvJVmiENqLjR NNtJgcUuNBVEFWQbeWSLJ4Qx7vKthEpA+NYWlWvffuPrPLoXk3qzid8fGj55nBwm pc0zkoEBaLK0iHQGSwhyLbE7sVsS+0kqnq2BxIusi0JBq21j2MIVD67in5Uwh3G1 4r794WBESwIpiAk3CZ3f9mq4VhuS3sRTXpCUH7tta0GaNLjyYtiDFkbi2tRbt1iD CjZdk/lAHUuldOivod4I9tujQobx0fDi8GspfGvDLan29v6XozyuGqYdINONHJHf YRRBgshOAqJ6rY9mN/+l1SDGEhkTEEtVk0FNyzUpdfkPE4EMgZjvdq0MoUjy7F/E nmI6+o9CQcYqVrXpqshIkb6kb0rPlmCduwOMVemVul2lMVy0wv5W4yLka2RTvTYj UYa3/mDyzQP2DEP6kB9dR6VaKSeNSU1YG0TeR9sPzJDvl0p0cTM=
    =ReCg
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From netfab@21:1/5 to All on Mon Oct 21 13:40:01 2024
    Le 21/10/24 à 13:07, gevisz a tapoté :
    Can somebody explain to me what it means?

    It seems that the "su" useflag is building the "su" utility, and that
    this useflag is enabled by default on gentoo.

    See 1 and 2.

    So I guess that if "su" useflag is disabled, the "su" utility is not
    built nor installed.

    sys-apps/util-linux: Revbump to introduce "logger" and "su" USE flags
    Bug: https://bugs.gentoo.org/700834

    sys-apps/util-linux: enable su by default
    shadow 4.10+ is deprecating 'su', so we're switching
    to util-linux's implementation by default.

    1. https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-apps/util-linux?id=2077815d701422d1f19942a695f7f19eaf49604e
    2. https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-apps/util-linux?id=c550eb53b108fcf6d4e2a38778230bc9a7d078e8

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)