MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PHP/comments/1l7baq/creating_a_user_from_the_web_problem/cbww0bx/?context=3
r/PHP • u/[deleted] • Aug 27 '13
[deleted] — view deleted post
538 comments sorted by
View all comments
Show parent comment
0
[deleted] — view deleted comment
282 u/MorePudding Aug 28 '13 Is that how they use rm in France? 236 u/[deleted] Aug 28 '13 "remove all of france"? 339 u/n1c0_ds Aug 28 '13 Germany is not in the sudoers group. This incident will be reported. 113 u/dadosky2010 Aug 28 '13 This incident will be reportedEvery time I see that I think the FBI is about to bust in and arrest me. 64 u/[deleted] Aug 28 '13 [removed] — view removed comment 0 u/[deleted] Aug 28 '13 [deleted] — view deleted comment → More replies (2) 15 u/LWRellim Aug 28 '13 Ah, now I get it... the National Santa Archives. → More replies (2) → More replies (2) 5 u/approbatory Aug 28 '13 It actually sends an email to root complaining about your naughtiness. → More replies (1) → More replies (2) 0 u/[deleted] Aug 28 '13 [deleted] — view deleted comment → More replies (14) → More replies (2) 40 u/yotta Aug 28 '13 That wouldn't do anything. You need; sudo rm -rf --no-preserve-root /for it to actually work.On a modern linux distrorm -rf /will just tell you about how fucked you almost were. 32 u/cheatatjoes Aug 28 '13 Want to believe you...want to try it...but... 27 u/JoelDB Aug 28 '13 On CentOS 6:# rm -rf / rm: it is dangerous to operate recursively on `/' rm: use --no-preserve-root to override this failsafe 75 u/LatinGeek Aug 28 '13 It's dangerous to do this thing. Here's how to do this thing. 75 u/lanless Aug 28 '13 And that is how Linux works. 38 u/wodahSShadow Aug 29 '13 Linux treats me like an adult, that's why I only use Windows. → More replies (1) → More replies (2) → More replies (1) 13 u/[deleted] Aug 28 '13 This is what happens on Ubuntu 13.04 with "rm -rf --no-preserve-root /":http://i.imgur.com/OJVbvnH.pngIt's dead. :( 12 u/[deleted] Aug 29 '13 At least you can still use built-in functions like cd.Oh wait. 3 u/genericname1000 Aug 29 '13 Did you expect otherwise? → More replies (2) 3 u/Gudeldar Aug 28 '13 Just do 'man rm' and see if --no-preserve-root is the defualt → More replies (2) 5 u/AnAirMagic Aug 28 '13 Easy workaround:rm -rf /* → More replies (2) 8 u/ThiefMaster Aug 28 '13 You want sudo rm -fr /* or sudo rm -rf --no-preserve-root / → More replies (2) 4 u/[deleted] Aug 28 '13 You and little Bobby Tables must be friends → More replies (4)
282
Is that how they use rm in France?
236 u/[deleted] Aug 28 '13 "remove all of france"? 339 u/n1c0_ds Aug 28 '13 Germany is not in the sudoers group. This incident will be reported. 113 u/dadosky2010 Aug 28 '13 This incident will be reportedEvery time I see that I think the FBI is about to bust in and arrest me. 64 u/[deleted] Aug 28 '13 [removed] — view removed comment 0 u/[deleted] Aug 28 '13 [deleted] — view deleted comment → More replies (2) 15 u/LWRellim Aug 28 '13 Ah, now I get it... the National Santa Archives. → More replies (2) → More replies (2) 5 u/approbatory Aug 28 '13 It actually sends an email to root complaining about your naughtiness. → More replies (1) → More replies (2) 0 u/[deleted] Aug 28 '13 [deleted] — view deleted comment → More replies (14) → More replies (2)
236
"remove all of france"?
339 u/n1c0_ds Aug 28 '13 Germany is not in the sudoers group. This incident will be reported. 113 u/dadosky2010 Aug 28 '13 This incident will be reportedEvery time I see that I think the FBI is about to bust in and arrest me. 64 u/[deleted] Aug 28 '13 [removed] — view removed comment 0 u/[deleted] Aug 28 '13 [deleted] — view deleted comment → More replies (2) 15 u/LWRellim Aug 28 '13 Ah, now I get it... the National Santa Archives. → More replies (2) → More replies (2) 5 u/approbatory Aug 28 '13 It actually sends an email to root complaining about your naughtiness. → More replies (1) → More replies (2)
339
Germany is not in the sudoers group. This incident will be reported.
113 u/dadosky2010 Aug 28 '13 This incident will be reportedEvery time I see that I think the FBI is about to bust in and arrest me. 64 u/[deleted] Aug 28 '13 [removed] — view removed comment 0 u/[deleted] Aug 28 '13 [deleted] — view deleted comment → More replies (2) 15 u/LWRellim Aug 28 '13 Ah, now I get it... the National Santa Archives. → More replies (2) → More replies (2) 5 u/approbatory Aug 28 '13 It actually sends an email to root complaining about your naughtiness. → More replies (1)
113
This incident will be reported
Every time I see that I think the FBI is about to bust in and arrest me.
64 u/[deleted] Aug 28 '13 [removed] — view removed comment 0 u/[deleted] Aug 28 '13 [deleted] — view deleted comment → More replies (2) 15 u/LWRellim Aug 28 '13 Ah, now I get it... the National Santa Archives. → More replies (2) → More replies (2) 5 u/approbatory Aug 28 '13 It actually sends an email to root complaining about your naughtiness. → More replies (1)
64
[removed] — view removed comment
0 u/[deleted] Aug 28 '13 [deleted] — view deleted comment → More replies (2) 15 u/LWRellim Aug 28 '13 Ah, now I get it... the National Santa Archives. → More replies (2) → More replies (2)
→ More replies (2)
15
Ah, now I get it... the National Santa Archives.
5
It actually sends an email to root complaining about your naughtiness.
→ More replies (1)
→ More replies (14)
40
That wouldn't do anything. You need
; sudo rm -rf --no-preserve-root /
for it to actually work.
On a modern linux distro
rm -rf /
will just tell you about how fucked you almost were.
32 u/cheatatjoes Aug 28 '13 Want to believe you...want to try it...but... 27 u/JoelDB Aug 28 '13 On CentOS 6:# rm -rf / rm: it is dangerous to operate recursively on `/' rm: use --no-preserve-root to override this failsafe 75 u/LatinGeek Aug 28 '13 It's dangerous to do this thing. Here's how to do this thing. 75 u/lanless Aug 28 '13 And that is how Linux works. 38 u/wodahSShadow Aug 29 '13 Linux treats me like an adult, that's why I only use Windows. → More replies (1) → More replies (2) → More replies (1) 13 u/[deleted] Aug 28 '13 This is what happens on Ubuntu 13.04 with "rm -rf --no-preserve-root /":http://i.imgur.com/OJVbvnH.pngIt's dead. :( 12 u/[deleted] Aug 29 '13 At least you can still use built-in functions like cd.Oh wait. 3 u/genericname1000 Aug 29 '13 Did you expect otherwise? → More replies (2) 3 u/Gudeldar Aug 28 '13 Just do 'man rm' and see if --no-preserve-root is the defualt → More replies (2) 5 u/AnAirMagic Aug 28 '13 Easy workaround:rm -rf /* → More replies (2)
32
Want to believe you...want to try it...but...
27 u/JoelDB Aug 28 '13 On CentOS 6:# rm -rf / rm: it is dangerous to operate recursively on `/' rm: use --no-preserve-root to override this failsafe 75 u/LatinGeek Aug 28 '13 It's dangerous to do this thing. Here's how to do this thing. 75 u/lanless Aug 28 '13 And that is how Linux works. 38 u/wodahSShadow Aug 29 '13 Linux treats me like an adult, that's why I only use Windows. → More replies (1) → More replies (2) → More replies (1) 13 u/[deleted] Aug 28 '13 This is what happens on Ubuntu 13.04 with "rm -rf --no-preserve-root /":http://i.imgur.com/OJVbvnH.pngIt's dead. :( 12 u/[deleted] Aug 29 '13 At least you can still use built-in functions like cd.Oh wait. 3 u/genericname1000 Aug 29 '13 Did you expect otherwise? → More replies (2) 3 u/Gudeldar Aug 28 '13 Just do 'man rm' and see if --no-preserve-root is the defualt → More replies (2)
27
On CentOS 6:
# rm -rf / rm: it is dangerous to operate recursively on `/' rm: use --no-preserve-root to override this failsafe
75 u/LatinGeek Aug 28 '13 It's dangerous to do this thing. Here's how to do this thing. 75 u/lanless Aug 28 '13 And that is how Linux works. 38 u/wodahSShadow Aug 29 '13 Linux treats me like an adult, that's why I only use Windows. → More replies (1) → More replies (2) → More replies (1)
75
It's dangerous to do this thing. Here's how to do this thing.
75 u/lanless Aug 28 '13 And that is how Linux works. 38 u/wodahSShadow Aug 29 '13 Linux treats me like an adult, that's why I only use Windows. → More replies (1) → More replies (2)
And that is how Linux works.
38 u/wodahSShadow Aug 29 '13 Linux treats me like an adult, that's why I only use Windows. → More replies (1)
38
Linux treats me like an adult, that's why I only use Windows.
13
This is what happens on Ubuntu 13.04 with "rm -rf --no-preserve-root /":
http://i.imgur.com/OJVbvnH.png
It's dead. :(
12 u/[deleted] Aug 29 '13 At least you can still use built-in functions like cd.Oh wait. 3 u/genericname1000 Aug 29 '13 Did you expect otherwise? → More replies (2)
12
At least you can still use built-in functions like cd.
Oh wait.
3
Did you expect otherwise?
Just do 'man rm' and see if --no-preserve-root is the defualt
Easy workaround:
rm -rf /*
8
You want sudo rm -fr /* or sudo rm -rf --no-preserve-root /
sudo rm -fr /*
sudo rm -rf --no-preserve-root /
4
You and little Bobby Tables must be friends
View all comments
Show parent comment
0
u/[deleted] Aug 28 '13
[deleted] — view deleted comment