10 - System Management
10.1 - Why does it say that I'm in the wrong group when I try to
su root?
On OpenBSD,
users who are in the
wheel
group are allowed to use
su(1)
to become root. Otherwise, the
user will receive an error.
If you
are creating new users with
adduser(8)
, you can add them to the
wheel
group by answering
"wheel" at the "
Invite
user into other groups:
" prompt. Existing
users must be added to the
wheel
group by hand. Here is an example of a
/etc/group
entry which has had the user
ericj added to
the
wheel
group:
wheel:*:0:root,ericj
If you want to give access to superuser privileges
without adding users to the
wheel
group, use
sudo(8)
.
Do'stlaringiz bilan baham: