LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-30-2002, 07:39 AM   #1
sultan
LQ Newbie
 
Registered: Sep 2001
Location: Islamabad, Pakistan
Posts: 4

Rep: Reputation: 0
Question sendmail aliases


I have a problem in sendmail aliases. Actually I want to execute a system command through sendmail aliases like

test123: |cat>>/home/test123/test/abc

where /home/test123/test folder that has write permissions for others. The problem is that this the system command "cat" runs under user with uid 65535 and group with gid 65535 and the file abc is created under this user but i think it should be created under user & group "mail". I have worked it a lot and can't get the solution.
Any Idea?
Thanks in Advance
 
Old 04-30-2002, 07:46 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232

It should be as it is, I think.
You can make it as you wish with setting suid (and create a copy of cat with owner mail and suid set), but it's a hole in your system's security.
 
Old 05-02-2002, 03:28 AM   #3
Token
LQ Newbie
 
Registered: May 2002
Location: Atlanta
Distribution: RH 7.2
Posts: 20

Rep: Reputation: 0
OR you could install procmail to do such things for you....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 and /etc/aliases soren625 Linux - Networking 4 03-07-2005 09:47 AM
sendmail virtusertable or aliases? HeadNoodle Linux - Newbie 7 02-18-2005 11:38 AM
sendmail - rebuilding aliases dansoend Linux - General 1 11-11-2004 06:27 PM
Sendmail and aliases freelinuxcpp Linux - Networking 2 07-27-2004 05:01 AM
SENDMAIL Aliases Help echid Linux - Software 1 03-11-2004 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:53 AM.

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