LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-14-2011, 06:35 PM   #1
theooze
LQ Newbie
 
Registered: Jun 2005
Posts: 16

Rep: Reputation: 0
Fedora sending mails from root with non-root account


I've started to get emails that would typically come from root@server.com as nonroot@server.com. These emails come from services that send out emails (backup programs) directly, or from cronjobs.

I've logged in as the non-root account and either sudo su - or su - to root and the restart the service at one point or another. If I login directly as root and bounce the service or cron the emails come across as from root.

I don't see anything in my environment variables after I su to indicate what would cause this. I'm not sure where else to look? A pam setting? This seems to have happened between Fedora 10 and 14 (did a bunch of overdue upgrades recently) I've only got Fedora so I don't have anything to compare to. In Fedora 10 I did not have this problem.

Any thoughts on what to look at?

There doesn't seem to be anything wrong and this is at most a minor annoyance and means some email filter rules aren't applied, but I'd still like to know what's happening.
 
Old 07-15-2011, 05:54 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
This seems to have happened between Fedora 10 and 14 (did a bunch of overdue upgrades recently)
were these new clean installes to 14
or did you use "upgrade " to go from 10 to 11 then to 12 then to 13 .....

if so
do a 100% clean NEW install after reformating the drive to ext3 for fedora 14
but i would format to the current ext4 and install fedora 15

then see if this still happens .

"upgrade" and "preupgrade" are Experimental - at best
 
0 members found this post helpful.
Old 07-18-2011, 08:37 AM   #3
theooze
LQ Newbie
 
Registered: Jun 2005
Posts: 16

Original Poster
Rep: Reputation: 0
The boxes have been upgraded from various Fedora versions. I really can't believe you are giving me the Windows answer of 'reformat, re-install' on a linux community and there are a variety of reasons why that's a bad idea so solve such a minor issue.

Does someone know if this is an environment variable or something similar that might cause this? I've been unable to track that down as when I su - to root or sudo i don't see anything that is tied to the normal user session in the root shell.
 
  


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
how can i run a java program with root privilages from a non-root account? joyjjs Linux - Software 1 08-04-2009 12:14 AM
Sending root mail to an external mail account aquaboot Debian 13 01-09-2009 07:23 PM
Identifying non-administrators w/ root privilege/ Multiple root account in use wjeanpaul Linux - Security 4 05-19-2006 08:55 PM
issue sending email with non-root account xunzi Linux - Newbie 2 07-02-2004 09:18 PM
Installed hotway daemon to download e-mails from hotmail account. Problems sending.. sjia Linux - General 1 03-09-2004 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:11 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