Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with sendmail pipes, permission denied!

Status
Not open for further replies.

JaybOt

Programmer
Apr 18, 2001
101
GB
Hi all,

I have some pipes in my alias file that run some scripts, except, i get error sent to postmaster telling me that I do not have permission to do various things. It appears that the scripts are running as 'me' and not 'root'.

My questions are:

Why are the scripts running as 'me' and not 'root'?
How can i tell which user the scripts will run as?
And how can i run them as root?

What rights/owners/groups should be assigned to the files/dirs?

I am logged into my box with my normal username, then I usually 'su' to carry out any maintenance, edit/run scripts, crontabs. etc.

Regards,
JayBot[pipe] "Always know what you say, but don't always say what you know!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top