Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
waldz3653y@alexbrooklyn that doesn't sound as bad... You still have root access to fix it... In my case they modified the group file directly, root is not root anymore, just a user with no permissions
-
Didn't know this was possible.
I mean yes, you can change the user name root to any id, but does sudo and su now also execute programs as the new root or do they use the uid 0? -
waldz3653y@happygimp0 nope... You don't have permission to run su or sudo... root user can't even access it's home (/root)... Permission denied everywhere
-
@waldz
No other user with sudo permissions?
Well, i think you have to shutdown the server, and fix /etc/passwd from somewhere else. Is it a VM or does it run in real hardware? -
waldz3653y@happygimp0 it's a vps they have a rescue mode... I'll use that to change GID back to 0
Related Rants
Sooo
Someone had that brilliant idea of changing user ID and group ID of root user in a server... Now root has no permissions.
How am I supposed to use that server now?
P.S: Don't ask me why they did that... I don't know and I didn't bother to ask.
rant
fuuuuuck
permissions
root access