This is not in the sudoers file. This incident will be reported
I installed arch and forgot to include wheel group in sudoers file. And it displayed this message saying this is not in the sudoers file. This incident will be reported. Who does it report to? Am I being tracked?
Sorry if the answer of this question is obvious, but I don't know the answer
EDIT - For those looking for a short answer, here it is. For those looking for a deeper explanation, read the comments
EDIT2 - Thanks for the awards
Edited 26 Aug 2021. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 281 · 90% up
- Kind
- Text
- ID
- pbead8
59 comments
https://xkcd.com/838/
Every time I see this message, I imagine some poor sob somewhere who gets called into the boss's office, and then gets interrogated for two hours about why they tried to run a command as root.
The alt text is great too (as always)
So it's got the joke answer and the real answer all in one!
I'm worried this isn't the top comment.
It is.
This guy.
Actual answer:
It sends an email to the
rootuser on your system.If you have some package that provides the
sendmailprogram (i.e. a MTA like postfix, exim, or msmtp-mta), it'll be used to send the email. How and where it gets delivered depends on the MTA's config (e.g. it might deliver locally to /var/mail, or forward via SMTP to your personal Gmail, or whatever). The same feature is used by Cron to deliver cronjob outputs.If you don't have any sendmail program (by default on Arch you don't), then I think sudo just directly writes the email to the traditional
/var/mail/rootspool file, but it could also be that it goes nowhere at all.(Debian for example includes exim4 by default, so mail for local users actually goes to /var/mail by default. If you've ever seen bash print a "
You have mail" at the prompt, it's checking that file.)All of this goes back to the days of large multi-user Unix systems, when email was kinda part of the system and not an "app" like now – your Unix account was your email account, etc.
I can believe it.
:)
Thanks
My disappointment is immeasurable. I was really expecting this.
I thought it was gonna be santa claus
Literally looks like that guy from FMA:Brotherhood ..........
God, the shoes are so accurate.
Thanks. Brought a smile to my face.
Deleted before we saved it.
you are welcome
So I actually just received and reviewed the report. I'm not sure if I can allow you to keep using this operating system. If you write a letter of apology I may be lenient in my judgement.
it goes directly to the cyber police. straight to jail.
Do not pass Golang do not collect response code 200?
Someone else who did have root access added
alias cd="sudo cd"to/etc/profile? Straight to jailyes 'usermod -g 2Jail user'.
If a user doesn't alias ls='ls -la' in .bashrc believe it or not... straight to jail
Yep, start lawyering up buddy!
Well no, no one is tracking you, now you can breath I guess
Ok now we speak what happened. When you run sudo as a non privileged user. The attempt to run 'sudo' command will be reported to the administrator of the specific pc which in this case I guess you're both the administrator (often mentioned as root), also the non privileged user. The message will be in /var/log/messages
Thanks. Yes, now I finally have inner peace
Log into root and edit the sudoers file, there's an arch page for this
But beware, this angers the sudoer's file, I'd watch your back after this.
all failed sudo attempts are forwarded directly to Linux Torvalds inbox
Not related to your questions but if you like things minimal and simple, you may consider using opendoas instead of sudo. However, some programs still need sudo so you need to sym link sudo to doas.
Deleted before we saved it.
I don't understand 'forgot to include wheel group'
When I install sudo it creates a sudoers file that always contains these references to wheel
## Uncomment to allow members of group wheel to execute any command
# %wheel ALL=(ALL) ALL
## Same thing without a password
%wheel ALL=(ALL) NOPASSWD: ALL
Does your sudoers file not contain these?
I ran "useraddd -mg wheel user" and made a password for it
when I typed
forgot to include wheel groupI mean that I forgot to include the wheel group in sudo privileges. I forgot to uncomment the line in short.It will be reported to the audit log.
It reports to Santa. You are now in the naughty list
Deleted before we saved it.
So did you make a root account? If so login to root and add the wheel group to the sudoers file.
If not chroot form the install media and add the wheel group to the sudoers file.
Deleted before we saved it.
It just makes note of it so a sys admin can check to see whos trying to use sudo.
So THAT’S why Microsoft actually started sending Linux kernel patches!
I almost thought that this sub was Debian iykwim.
Deleted before we saved it.
A typical Arch user
Congratulations on being born knowing everything.
Irony? I am an Arch user myself
Top notch /r/archlinux content. No wonder reddit.com is worth over $10 billion!
Is this a shitpost
Seems more like a beginner asking for help.
I don't really see the issue with that, we all start somewhere.
Proof right here that Arch's primary audience is non-technical.
It's not a competition lol... Besides it's not a need to know thing for the vast majority of users.
I know it's not a competition. For somebody installing Arch I would expect some understanding of the Linux permissions model.
We all need to start somewhere. It's called going outside your comfort zone and learn new things.
This links right off of the main installation guide. Sudo is mentioned in the first paragraph and there's a section specifically outlining how to add non-superuser accounts to the sudoers file : https://wiki.archlinux.org/title/Users_and_groups#Example_adding_a_user
If he got this far then he got far enough to read about privilege escalation and usage of sudo / su.