Category Archives: UNIX

Sendmail relay configuration on AIX

4.00 avg. rating (80% score) - 2 votes

This document describes how to set up a Sendmail e-mail gateway or relay which will be able to process incoming mail and route it to different mail servers based on domain information. The routing table is based on the Sendmail mailertable feature instead of the usual MX record based routing. This will come handy when there is a need to route mail internally in a different way than externally.

Continue reading Sendmail relay configuration on AIX

SUID script requirements on AIX 5L and ksh93

0.00 avg. rating (0% score) - 0 votes

Requirements for a suid script include:

  • #! directing the KornShell be used
  • Executable by user, group, and other
  • No read permission
  • Add suid permission by chmod u+s on the file

Add a -p option to #! to increase security to force a separate process if one is not normally done.

Example:

Source of this information:

http://www.ibm.com/developerworks/aix/library/au-kornshell93.html#n