Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

sudo mailx

68 views
Skip to first unread message

News

unread,
Nov 26, 2009, 9:44:15 AM11/26/09
to
Only root can use mailx

in order to use sudo i added 2 lines in visudo

Cmnd_Alias CMD_TIVOLI_DB2_MAIL = /usr/bin/mailx
<login> ALL =(root) NOPASSWD:
CMD_TIVOLI_DB2_MAIL

without success :(.. <login> still cannot send. No message error

> oslevel -r
5300-06

Ted Linnell

unread,
Nov 27, 2009, 5:35:20 PM11/27/09
to
News <ben12...@hotmail.fr> wrote:

Mailx SHOULD be usable by all users.

Have you looked at the sendmail config?


Regards,

Ted.
==============================================================
| Ted Linnell <edli...@acslink.net.au> |
| |
| Nunawading, Victoria , Australia |
==============================================================

News

unread,
Nov 28, 2009, 7:59:54 AM11/28/09
to
On 27 nov, 23:35, Ted Linnell <edlinn...@acslink.net.au> wrote:
> Have you looked at the sendmail config?

no ! system AIX engineer told me it's not possible .. could you give
me details ?

Ted Linnell

unread,
Nov 28, 2009, 9:15:43 PM11/28/09
to
News <ben12...@hotmail.fr> wrote:

There is a file called sendmail.cf, not sure where it is held on AIX.

It contains the sendmail configuration, but is quite cryptic.

You should be able to find documentation on sendmail on the web.

I have found it before by googling sendmail, but cannot recall the URL
off the top of my head.

Henry

unread,
Nov 29, 2009, 4:58:08 PM11/29/09
to
On Nov 28, 11:35 am, Ted Linnell <edlinn...@acslink.net.au> wrote:

> News <ben1245_...@hotmail.fr> wrote:
> >Only root can use mailx
>
> >in order to use sudo i added 2 lines in visudo
>
> >Cmnd_Alias   CMD_TIVOLI_DB2_MAIL        = /usr/bin/mailx
> ><login>     ALL                          =(root)       NOPASSWD:
> >CMD_TIVOLI_DB2_MAIL
>
> >without success :(.. <login> still cannot send. No message error
>
> >> oslevel -r
> >5300-06
>
> Mailx SHOULD be usable by all users.
>
> Have you looked at the sendmail config?
>
> Regards,
>
> Ted.
> ==============================================================
> | Ted Linnell                 <edlinn...@acslink.net.au>     |

> |                                  |
> | Nunawading, Victoria , Australia                           |
> ==============================================================

check to see if anyone has changed the permissions of mailx
ls -l $(which mailx)
-rwxr-xr-x 3 bin mail 135190 30 Aug 2008 /usr/bin/
mailx

also check the fpm utility

0 new messages