5

So i fcked up a lot monday. I was working on ftp system and i had some problems, so i wanted to test on my own account.
What i didn't realise was that usermod -g group user
Overrides current users instead of adding them like
Usermod -G group user

So i overrided my users groups including root.
And the next day i logged in, my user didn't have sudo permission 😊

Luckily the owner had a friend with sudo which saved us. Because we only have 1 account which we me and the owner uses.

Comments
Add Comment