General
cancel
Showing results for 
Search instead for 
Did you mean: 

mailx doesn't work without root rights

SOLVED
Go to solution
Armin König
Occasional Contributor

mailx doesn't work without root rights

when i try to put a
mailx -s
being logged in with a user other than root, the system returns the error message
ksh: syntax error: `-s' unexpected

as i su to superuser rights or log in as the root user it works fine.

can anybody help with this issue?

thanks
armin
4 REPLIES
Naveej.K.A
Honored Contributor

Re: mailx doesn't work without root rights

Armin,

Execute

what mailx

and see if any differnce in the output when you execute as root and the normal user??

Regards,
Naveej
practice makes a man perfect!!!
Naveej.K.A
Honored Contributor
Solution

Re: mailx doesn't work without root rights

Sorry Armin,

It should be "which mailx"

Regards,
Naveej
practice makes a man perfect!!!
Armin König
Occasional Contributor

Re: mailx doesn't work without root rights

Thanks, Naveej!

Problem resolved.
The paths shown by using the which command are differing --> /usr/bin/mailx (for root) /bin/mailx (for others).

Armin
Armin König
Occasional Contributor

Re: mailx doesn't work without root rights

... as stated above.

Armin