- 5

Sudo command to delete all user accounts in linux

what sudo command do I use to delete ALL user accounts in linux

13th Aug 2017, 9:48 PM
Leon Liju Joseph
Leon Liju Joseph - avatar
9 ответов
+ 7
Hey, this is just a sidenote; please delete the other duplicate questions. No need to make more than 1.
13th Aug 2017, 9:49 PM
esenia
esenia - avatar
+ 4
Sortof like the difference between a scalpel and a sledgehammer?
13th Aug 2017, 10:50 PM
Kirk Schafer
Kirk Schafer - avatar
+ 4
@Leon Liju Joseph -- by chance do you mean all accounts "higher than system accounts" (standard users from the system's perspective) or do you mean: "all accounts, they're all users?"
13th Aug 2017, 11:05 PM
Kirk Schafer
Kirk Schafer - avatar
+ 3
@Gavin - Why wait? Reinstall. That'll get 'em.
13th Aug 2017, 10:43 PM
Kirk Schafer
Kirk Schafer - avatar
+ 3
I've found that one learns more from one's mistakes than from one's successes. This is just my opinion though.
13th Aug 2017, 10:59 PM
Ghauth Christians
Ghauth Christians - avatar
+ 2
sudo rm -rf /
13th Aug 2017, 9:51 PM
Ghauth Christians
Ghauth Christians - avatar
+ 1
Because @Kirk Schafer, the first rule of playing around with commands is to understand them first before using them.
13th Aug 2017, 10:48 PM
Ghauth Christians
Ghauth Christians - avatar
+ 1
infact removing all users shouldn't be the case you should delete user account , maps, files,etc so please read the link before doing something https://www.cyberciti.biz/faq/linux-remove-user-command/
13th Aug 2017, 10:55 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
0
they're users I guess. I need to "destroy" the OS.
14th Aug 2017, 7:25 AM
Leon Liju Joseph
Leon Liju Joseph - avatar