• Re: Can't su to root

    From Aelius Gallus@21:1/5 to John D Groenveld on Fri Nov 22 03:02:23 2024
    John D Groenveld <groenveld@acm.org> wrote:
    In article <vhor6g$t6hv$1@dont-email.me>,
    Aelius Gallus <alexias@nospam.mail> wrote:
    Just installed FreeBSD-14.1 and found that I can't
    su to root from a normal user. Any help in the right
    direction will be appreciated.

    <URL:https://man.freebsd.org/cgi/man.cgi?query=su&apropos=0&sektion=0&manpath=FreeBSD+14.1-RELEASE+and+Ports&arch=default&format=html>
    PAM is used to set the policy su(1) will use. In particular, by de-
    fault only users in the "wheel" group can switch to UID 0 ("root").
    This group requirement may be changed by modifying the "pam_group" sec-
    tion of /etc/pam.d/su. See pam_group(8) for details on how to modify
    this setting.

    John
    groenveld@acm.org
    Thank you for your sugestion.
    Problem solved. It was an ortographic mistake.
    I used the colon (:) instead of a comma (,) in the wheel group to include the normal user.
    Thank you again.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John D Groenveld@21:1/5 to alexias@nospam.mail on Fri Nov 22 02:48:45 2024
    In article <vhor6g$t6hv$1@dont-email.me>,
    Aelius Gallus <alexias@nospam.mail> wrote:
    Just installed FreeBSD-14.1 and found that I can't
    su to root from a normal user. Any help in the right
    direction will be appreciated.

    <URL:https://man.freebsd.org/cgi/man.cgi?query=su&apropos=0&sektion=0&manpath=FreeBSD+14.1-RELEASE+and+Ports&arch=default&format=html>
    PAM is used to set the policy su(1) will use. In particular, by de-
    fault only users in the "wheel" group can switch to UID 0 ("root").
    This group requirement may be changed by modifying the "pam_group" sec-
    tion of /etc/pam.d/su. See pam_group(8) for details on how to modify
    this setting.

    John
    groenveld@acm.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Aelius Gallus@21:1/5 to All on Fri Nov 22 02:44:32 2024
    Just installed FreeBSD-14.1 and found that I can't
    su to root from a normal user. Any help in the right
    direction will be appreciated.

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