Answer the question
In order to leave comments, you need to log in
Linux user can't use sudo?
created a user, entered him into the wheel group useradd -s /bin/bash -m -p 12345 -G wheel tom
, since the wheel group is disabled by default in new versions of Linux, I turned it on, so to speak.
before that, I created the wheel group,
uncommented the auth required pam_wheel.so line and added /etc/pam.d/su
% wheel ALL=(ALL) ALL to the line
when I change to this user
, the tom user cannot use sudo, even if I enter the correct password.
to display such bullshit
of the tom'a group: tom wheel
UPD By the
way, now I tried to log in through the graph interface, so it does not enter at all. When I enter the password it says Sorry, that's didn't work/etc/sudoers
su tom
Created several users, all the same
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question