Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

newaliases error - Executable files not allowed

SOLVED
Go to solution

newaliases error - Executable files not allowed

Help!

I am gettting an error whenever I try to run usr/sbin/newaliases...

newaliases: cannot open /etc/mail/aliases: Executable files not allowed

I am running this having 'su -'d to root...

This is probably dead easy but I'm completely new to HP-UX!

Thanks in advance,

James
3 REPLIES
Schelstraete Bart_1
Frequent Advisor
Solution

Re: newaliases error - Executable files not allowed

Hello,

Check the permissions of your aliases file.

#> chmod 444 /etc/mail/aliases


rgrds,

Bart
Thierry Poels_1
Honored Contributor

Re: newaliases error - Executable files not allowed

Hi,

the aliases file should not be set as executable, as the error messages states.

to correct:
chmod 644 /etc/mail/aliases
or
chmod a-x /etc/mail/aliases

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Alex Glennie
Honored Contributor

Re: newaliases error - Executable files not allowed

what's the permissions on /etc/mail/aliases ?

-rw-r--r-- root sys ? if not I'd suggest changing it to the above. chmod aliases 644.

what's the O/S and version of sendmail if the above doesn't work / relevant .... also a

ll /usr/sbin/sendmail & ll /etc/mail may prove useful ....