How to check permissions of a non sudoers user with full root access?
0
votes
2
answers
159
views
doas
is a sudo
-like command recently packaged in Debian 12, Ubuntu Jammy (universe) and some other Linux distros.
A non sudoers user (doasuser
) can be added to /etc/doas.conf
to be granted root access. Detailed instructions on Debian Wiki .
Problem:
The doasuser
isn't a member of any group. If you grant root access to doasuser
, this information isn't synchronized with sudo
(seen as unprivileged user). doas
only comes with a binary program, a PAM configuration file and /etc/doas.conf
.
Apart from /etc/doas.conf
, a superuser can't find the permissions of the doasuser
.
Is there any command line to check the permissions of doasuser
?
Asked by GAD3R
(69486 rep)
Feb 9, 2024, 11:10 AM
Last activity: Feb 9, 2024, 12:45 PM
Last activity: Feb 9, 2024, 12:45 PM