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
Related Rants
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.
undefined
bad practise
stupid me