LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Closed Thread
  Search this Thread
Old 12-17-2017, 12:45 PM   #16
!!!
Member
 
Registered: Jan 2017
Posts: 666

Rep: Reputation: 288Reputation: 288Reputation: 288
@pn: Do you understand the difference between Q&A (vs. what you're doing)???


Quote:
Originally Posted by !!! View Post
Edit note added: I'm slow: I started compsing this while Thread on ZRT.

Hello my friend!!! Remember LQ is for more of Q&A, than discussions,
Especially possibly controversial discussions. I hope my suggestion of:
reddit (For more like 'social chat') isn't against LQ rules.

Yes, there's tons of 'damaging' cmds in any os, depending on privs.
That's why I suggested mll. Did you try it, in your VBox? Slackware?
I suggest mimimal Slackware installs, VBox 'snapshots'
Or much easier with mll, because you have only the cd, no hdd!!!

Tell us something we can reproduce, that didn't give the result you expected,
and the exact result differnce. Best wishes for comfort&fun, in all of Life

Edit append: more: @pn: I have a useful question/project for you:
Using mll in a 128MB VBox (no .vdi), with your CPU, how many seconds before it is 'wedged' to the point that Ctrl+c won't work? My N270: a few I think I remember; your cpu probably faster. What ulimit will 'nicely' prevent this? What echo > /{sys,proc}/... ?
Write a nice tutorial about: what reasonable&useful 'setting' could stop a fork bomb, without blocking any other 'reasonable' things?
@pn: Again, you are breaking my heart, by ignoring me!!! I need a friend, and asked you nicely. But you ignore me, and just consume all the 'food' you receive from all the others!

Please: 'HELP ME'!!! Or Jeremy will get mad again (probably at both of us) unless we produce some interesting&useful Q&A. Thank you & best wishes always.

p.s. Edit append: @pn: See, this is for reddit:
https://www.reddit.com/r/linux/comme...on_a_mistyped/
More @pn: could you please write a LQblog tutorial for me, on creating the 'docker' of that. Thanks.
Quote:
Update 2017-07-04
Suicide Linux is now a Docker image. Here's the source.
docker run --rm -it -t tiagoad/suicide-linux
Code:
/ # echo '#root::0:0::/:/bin/sh'>/etc/passwd
/ # id
uid=0 gid=0
/ # cat /etc/passwd
#root::0:0::/:/bin/sh
/ # ls -l /etc/passwd
-rw-r--r--    1 0        0               22 Dec 10 00:16 /etc/passwd
/ # rm -rf / 2>/dev/null
/ # ls -l /etc/passwd
ls: /etc/passwd: No such file or directory
/ # id
uid=0 gid=0
/ # pwd
/
/ # ls -la
total 0
/ # uname -a
Linux minimal 4.4.44 #1 SMP Fri Jan 20 21:34:35 EET 2017 i686 GNU/Linux
/ # ps |egrep -v ']|dhcp|sh$'
PID   USER     TIME   COMMAND
    1 0          0:09 init
 3187 0          0:00 ps
 5433 0          0:00 nc -l
 5648 0          0:07 telnetd -l /bin/sh -p 32769
/ # netstat -t
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 ::ffff:10.0.2.15:32769  ::ffff:10.0.2.2:2095    ESTABLISHED
/ # mkdir . .. / bin
mkdir: can't create directory '..': File exists
mkdir: can't create directory 'bin': File exists
/ # ls -laR
.:
total 0
/ #
Note well: per the Ubuntu link: do NOT try this on any distro other than mll!!!

Code:
/ # mkdir . .. / bin
mkdir: can't create directory '..': File exists
mkdir: can't create directory 'bin': File exists
/ # ls -laR /
.:
total 0
/ #
Is there any way to fix this (without rebooting)? ?? ???

Last edited by !!!; 12-17-2017 at 01:46 PM. Reason: Left only 1 Bold, for emphisis on 'feeding' (keeps trolls alive)
 
Old 12-17-2017, 12:47 PM   #17
pompous ninja
Member
 
Registered: Nov 2017
Location: Brazil
Distribution: Linux Mint
Posts: 73

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by astrogeek View Post
In my personal opinion, you shouldn't.

The examples given are not dangerous Linux commands, they are examples of short programs contrived for the purpose of causing harm to a Linux system. If you were to ask "How many ways can I break into a Linux system?", the discussion would not be allowed under LQ rules:



In my opinion, promoting a discusion of "How many ways can I harm a Linux system?", outside any otherwise useful context, should fall under that same rule and not be allowed.

On that basis I am reporting this thread to other moderators for comment and possible action.
Thank you, astroogeek!

Why the Ubuntu forums say that these commands are dangerous?

Reference: https://ubuntuforums.org/announcement.php?f=326

If these commands are dangerous or not, I want to be well informed to avoid "all dangerous Linux command".

If I am not answered here in Linux Questions, what should I study to know the answers?
 
Old 12-17-2017, 12:52 PM   #18
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 4,667
Blog Entries: 6

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
Quote:
Originally Posted by pompous ninja View Post
Why the Ubuntu forums say that these commands are dangerous?
You should ask in the Ubuntu forums, not LQ.

Quote:
Originally Posted by pompous ninja View Post
I want to be well informed to avoid "all dangerous Linux command"... what should I study to know the answers?
You should study Linux/Unix/Computing general knowledge and best practices, that will cover all bases, known and not yet encountered.

You should ask yourself, "How can I promote useful, helpful discussion, beneficial to all?" and leave off from seeking out everything negative and harmful.

Last edited by astrogeek; 12-17-2017 at 01:42 PM. Reason: Added ubuntu forum quote
 
1 members found this post helpful.
Old 12-17-2017, 01:17 PM   #19
pompous ninja
Member
 
Registered: Nov 2017
Location: Brazil
Distribution: Linux Mint
Posts: 73

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by astrogeek View Post
In my personal opinion, you shouldn't.

The examples given are not dangerous Linux commands, they are examples of short programs contrived for the purpose of causing harm to a Linux system. If you were to ask "How many ways can I break into a Linux system?", the discussion would not be allowed under LQ rules:



In my opinion, promoting a discusion of "How many ways can I harm a Linux system?", outside any otherwise useful context, should fall under that same rule and not be allowed.

On that basis I am reporting this thread to other moderators for comment and possible action.
I posted this topic because I believed in Ubuntu Forums.

Ubuntu Forums says that these commands are dangerous: https://ubuntuforums.org/announcement.php?f=326

If these commands are not dangerous, I should not have posted this topic.

astrogeek and moderators, sorry me!

If is better to lock the topic, please lock!
 
Old 12-17-2017, 01:22 PM   #20
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,354

Rep: Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509
Quote:
Originally Posted by pompous ninja View Post
I posted this topic because I believed in Ubuntu Forums.
Believing things written on the internet is dangerous though
 
Old 12-17-2017, 01:31 PM   #21
pompous ninja
Member
 
Registered: Nov 2017
Location: Brazil
Distribution: Linux Mint
Posts: 73

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by ntubski View Post
Believing things written on the internet is dangerous though

Believe in things written on the academic books is also dangerous?

Believe in the academic teachers is also dangerous?

Last edited by pompous ninja; 12-17-2017 at 01:33 PM.
 
Old 12-17-2017, 01:50 PM   #22
!!!
Member
 
Registered: Jan 2017
Posts: 666

Rep: Reputation: 288Reputation: 288Reputation: 288
Yes; yes(1)


Quote:
/ # mkdir . .. / bin
mkdir: can't create directory '..': File exists
mkdir: can't create directory 'bin': File exists
/ # ls -laR /
.:
total 0
/ #

Is there any way to fix this (without rebooting my mll VBox)? ?? ???
(I'll loose everything if I reboot, because I have no .vdi)

I guess I must be on everyone's 'ignore list' . I give up. Bye.

Last edited by !!!; 12-18-2017 at 01:09 AM. Reason: rm loop per ag
 
Old 12-17-2017, 02:37 PM   #23
pompous ninja
Member
 
Registered: Nov 2017
Location: Brazil
Distribution: Linux Mint
Posts: 73

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by !!! View Post

Code:
/ # mkdir . .. / bin
mkdir: can't create directory '..': File exists
mkdir: can't create directory 'bin': File exists
/ # ls -laR /
.:
total 0
/ #
Is there any way to fix this (without rebooting)? ?? ???
@!!!


Why do not you ask this to Theo de Raadt and all official OpenBSD developers?

Why do not you put this question in OpenBSD misc mailing list?

Reference: (misc@openbsd.org): https://marc.info/?l=openbsd-misc

OpenBSD is the operating system most secure of world.

Last edited by pompous ninja; 12-17-2017 at 03:18 PM.
 
Old 12-17-2017, 03:02 PM   #24
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,354

Rep: Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509
Quote:
Originally Posted by pompous ninja View Post
Believe in things written on the academic books is also dangerous?
Of course; you don't think people burn books just for fun, do you?

Quote:
Believe in the academic teachers is also dangerous?
Yup, that's why they executed Socrates.
 
Old 12-18-2017, 12:43 AM   #25
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 8,745
Blog Entries: 5

Rep: Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141
just a word of warning, the op is a classical troll.

this is not name-calling; i'm stating a fact. look up the definition in the above link.

it never gets abusive, that's the clever part, but apart from that: its threads have no meaning except pushing well-known buttons, relentlessly.
look at their backlog here on LQ; now it also opened an account "supreme ninja" over at debian forums and created a thread IDENTICAL to this one.
 
Old 12-18-2017, 01:21 AM   #26
Trihexagonal
Member
 
Registered: Jul 2017
Location: Land of 1000 Nights
Distribution: FreeBSD, OpenBSD and Solaris
Posts: 165

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by pompous ninja View Post
...I want to avoid all the dangerous Linux commands!
Then stick with Windows, or have someone else Admin your *NIX machine for you and permit you access to a usr account only.
 
Old 12-18-2017, 03:11 AM   #27
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,089
Blog Entries: 5

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
Quote:
Originally Posted by pompous ninja View Post
an ignorant user may be fooled
Yes, this is the case. It doesn't just apply to Linux either. Logging into any *nix like system as root and running commands copied and pasted from the WWW has the potential to be destructive.

Similarly in Windows, running some random batch files as an admin level user, or just downloading and running malware 'infected' files has the potential to be destructive or compromise the system.

Listing "dangerous commands" won't change any of this.
 
Old 12-18-2017, 06:09 AM   #28
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,099
Blog Entries: 28

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Moderator response

This thread is being closed for violation of the LQ Rules for potential dangerous action to LQ & members.
 
Old 12-18-2017, 11:49 AM   #29
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,702

Rep: Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454
pompous ninja,

You're forming a pattern here, and multiple consecutive threads of yours have now been closed. If you'd like to continue participating at LQ, please change this behavior.

--jeremy
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tell me a site for dangerous commands in Linux kalin-linux Linux - Newbie 25 01-11-2015 06:05 PM
What's the most dangerous thing you've done on Linux ? H_TeXMeX_H Linux - General 16 11-20-2008 12:52 PM
Helpers post fake or dangerous commands on ubuntu forums laan97ac Linux - General 2 11-29-2007 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration