All users obtain root privileges after logging in and are unable to exit, even if they are just regular users
2
votes
0
answers
49
views
In the Ubuntu 24.04LTS release, all users (including those not in the sudoers group) who log in and use commands such as whoami, id - un, and view UID will be displayed as root users with root privileges, even if the username displayed after logging in is a normal regular username. Therefore, ordinary users are able to write files as root in restricted directories (such as system folders or other user directories). This completely confuses the permissions of the entire system.
Here's an example user:
getent passwd fsy
fsy:x:1001:1001:,,,:/home/fsy:/bin/bash
Does anyone know how to solve this problem ...
Asked by 胡钰承
(21 rep)
Jul 29, 2025, 11:06 PM
Last activity: Jul 29, 2025, 11:13 PM
Last activity: Jul 29, 2025, 11:13 PM