The sender info of mail command# Unix - 噫吁兮,危乎高哉
h*s
1 楼
Hi there,
Our machine is running Solaris 9 and using NIS. I sshed in as a regular user A
and "su -" to root user. I typed following command as root user "mail A test
ctrl^d". I switched back to regular user A and checked the email of A. I found
the email with the content "test" as expected but I found the sender of the
email is A NOT the root. I am wondering why I issued the mail command as root
but the sender is not root but user A?
Thanks in advance!
Our machine is running Solaris 9 and using NIS. I sshed in as a regular user A
and "su -" to root user. I typed following command as root user "mail A test
ctrl^d". I switched back to regular user A and checked the email of A. I found
the email with the content "test" as expected but I found the sender of the
email is A NOT the root. I am wondering why I issued the mail command as root
but the sender is not root but user A?
Thanks in advance!