Originally posted by: abdurixit
Hi
Who can explain the following situation:
usmadm # whoami
usmadm
usmadm #
mail -s test root < /etc/resolv.conf
usmadm # tail -20 syslog.out
Jun 2 15:41:46 sb000084 mail:info postfix/pickup
5210276: 7D6B52201: uid=670 from=<_
root_>
..........
Jun 2 15:41:47 sb000084 mail:info postfix/qmgr
548928: 8926021A5: removed
usmadm #
mailx -s test root < /etc/resolv.conf
Jun 2 15:41:49 sb000084 mail:info postfix/pickup
5210276: CF6112201: uid=670 from=<_
usmadm_>
.....
Jun 2 15:41:50 sb000084 mail:info postfix/qmgr
548928: D82F421A5: removed
That means, as non-root user I can send an email as "root" if I use "mail" command and as myself if I use "mailx".
Actually /usr/bin/Mail, /usr/bin/mail and /usr/bin/mailx are same binaries and hard linked to each other.
I googled in this direction and did not find any answer.
Is this a new feature in AIX 6.1 or is it a bug? If it is a new feature what is the background for that?
Thanks.
#AIX-Forum