Sujet : Re: Can't su to root
De : alexias (at) *nospam* nospam.mail (Aelius Gallus)
Groupes : comp.unix.bsd.freebsd.miscDate : 22. Nov 2024, 04:02:23
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vhos7v$tc93$1@dont-email.me>
References : 1 2
User-Agent : tin/2.6.3-20231224 ("Banff") (FreeBSD/14.1-RELEASE (amd64))
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.