LinuxQuestions.org
Visit Jeremy's Blog.
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 05-25-2008, 04:24 PM   #1
bambeklis
Member
 
Registered: Aug 2005
Posts: 58

Rep: Reputation: 15
cannot execute sendmail


Hi,

Can't execute sendmail comman with non-root users:

bash: sendmail: command not found

It's because sendmail is in /usr/sbin directory, but how to solve this ?
 
Old 05-25-2008, 06:52 PM   #2
sunethj
Member
 
Registered: Nov 2006
Posts: 97

Rep: Reputation: 16
I think this page in sendmail.org site explains why sendmail needs to be executed as root user.

check /usr/sbin/sendmail permission to see who has execute privileges to the script.

unless you have some special requirement / you know exactly what you are doing i don't think it is a good idea to change those settings.
 
  


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
Sendmail config questions + Sendmail not reflecting changes to access db wbuik Linux - Networking 2 03-26-2009 05:02 AM
127 Can't execute command '/usr/sbin/sendmail kiganda Linux - Newbie 1 10-03-2007 05:50 AM
sendmail is not working & on $prompt the cmd sendmail hangs Pavan mahoorker Linux - Software 1 04-04-2006 03:57 PM
Kmail can't execute sendmail wimp Linux - Newbie 0 10-18-2004 03:44 AM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM

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

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