LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 08-09-2011, 09:40 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Rep: Reputation: Disabled
"this incident will be reported"


Every once in a while in a new installation of a distro, I will try to sudo something without having remembered to put myself in the sudoers list. When that happens, the system gives me an authoritarian response: "This incident will be reported." Because I own my computer and am the only user, this always amuses me a little. Naughty, naughty: I've been a bad little sudoer and will be reported to...myself, I guess. Single-user or not, Linux is meant for a network and it shows.
 
Old 08-09-2011, 09:55 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
You do know that message means that you are being report to sudo, right?

Honestly, I don't have to worry that message because I don't use sudo. I just manually su - in a terminal whenever I need to do administrative maintenance and/or actions on my system.
 
Old 08-09-2011, 11:22 PM   #3
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by corp769 View Post
You do know that message means that you are being report to sudo, right?

Honestly, I don't have to worry that message because I don't use sudo. I just manually su - in a terminal whenever I need to do administrative maintenance and/or actions on my system.
Well, yeah, so do I (although I'm trying not to), but normally I wouldn't say so here. Admtiting that I often su - instead of sudoing is likely to get me some lectures on using root.

Last edited by newbiesforever; 08-09-2011 at 11:24 PM.
 
Old 08-10-2011, 02:37 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I think the message actually comes from shadow. If you try to login as 'root' and give an incorrect password, shadow tries to send an email to /var/spool/mail to notify 'root' of the event.
 
Old 08-10-2011, 03:25 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
If you are the only user/admin then it makes no real difference whether you use su or sudo. Unless, like me, you occasionally forget to exit from su and run things as root too often. That was annoying.
 
Old 08-10-2011, 05:32 AM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by XavierP View Post
If you are the only user/admin then it makes no real difference whether you use su or sudo. Unless, like me, you occasionally forget to exit from su and run things as root too often. That was annoying.
I used to do that when I was new at linux....
 
Old 08-10-2011, 07:52 AM   #7
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by XavierP
Unless, like me, you occasionally forget to exit from su and run things as root too often.
Three words: Color. Shell. Prompt.

Seriously, it helps when your root prompt is a bright, foreboding red as opposed to a friendly, inviting green (user prompt)…
Attached Thumbnails
Click image for larger version

Name:	prompt-screenie.png
Views:	17
Size:	3.0 KB
ID:	7765  

Last edited by MrCode; 08-10-2011 at 07:53 AM. Reason: ridiculously minor grammar correction :rolleyes:
 
Old 08-10-2011, 08:30 AM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
I can't believe that no one posted this yet :

https://www.xkcd.com/838/
 
Old 08-10-2011, 08:37 AM   #9
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by MTK358 View Post
I can't believe that no one posted this yet :

https://www.xkcd.com/838/
LOL!
 
Old 08-11-2011, 01:36 AM   #10
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
Quote:
Originally Posted by corp769 View Post
I used to do that when I was new at linux....
a $ for normal users and a # for root works just as well too, and is even the default behaviour for bash
 
Old 08-11-2011, 11:06 AM   #11
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by phil.d.g View Post
a $ for normal users and a # for root works just as well too, and is even the default behaviour for bash
Very true, but sometimes I don't even pay attention to it
 
Old 08-11-2011, 12:35 PM   #12
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Original Poster
Rep: Reputation: Disabled
I'm not sure everyone noticed my point, which was only that "this incident will be reported" sounds funny when one is the only user. It just occurred to me that it sounds vaguely similar to an error message I used to see in Windows 3.11 when I used it long ago: "This application has violated system integrity blah blah blah and will be terminated [italics mine]." Hasta la vista, baby.
 
Old 08-11-2011, 02:19 PM   #13
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
It just occurred to me that it sounds vaguely similar to an error message I used to see in Windows 3.11 when I used it long ago: "This application has violated system integrity blah blah blah and will be terminated [italics mine]." Hasta la vista, baby.
…or possibly the (in)famous Windows 95/98 segfault/system error message: "<program>.exe has performed an illegal operation and will be shut down".

Oh, no! The cops are coming to lock me up!

Last edited by MrCode; 08-11-2011 at 02:20 PM.
 
Old 08-11-2011, 02:25 PM   #14
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Original Poster
Rep: Reputation: Disabled
Ha, ha...that's like the old joke that one will be arrested for tearing the tag off a pillow or mattress because they say "do not remove under the penalty of law."
 
Old 08-11-2011, 04:24 PM   #15
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939
Quote:
Originally Posted by newbiesforever View Post
Ha, ha...that's like the old joke that one will be arrested for tearing the tag off a pillow or mattress because they say "do not remove under the penalty of law."
Obviously you didn't hear about that poor sucker in Montana ...

And, I mean, it wasn't like the poor bloke didn't get what was coming to 'im. The charred remnants of the label were right there, still lodged in his cold, dead fingertips...
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/bin/ls "total" number reported??? JimDog Linux - Newbie 3 03-15-2012 01:46 PM
NFS: "mount server reported tcp not available..." on boot pdoubek Linux - Networking 2 10-20-2009 09:51 AM
LXer: Google's "reported attack site" nonsense could lead to a Firefox boycott LXer Syndicated Linux News 0 09-27-2009 02:20 AM
This incident will be reported sulekha Ubuntu 4 11-15-2008 06:31 AM
"undeclared identifier is reported only once for each " KDel Linux - Software 1 04-29-2004 05:40 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 08:04 PM.

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
Open Source Consulting | Domain Registration