h*********s 发帖数: 14 | 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! | w**n 发帖数: 88 | 2 Is the /var/spool/mail or /var/mail NFS mounted?
【在 h*********s 的大作中提到】 : 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!
| h*********s 发帖数: 14 | 3
Yes. /var/mail is NFS mounted.
cat /etc/mnttab|grep var
auto_direct /var/mail autofs direct,ro,nosuid,ignore,dev=3dc0001
1080130613
/export/mail /var/mail lofs rw,suid,dev=800080 1083962476
Could you tell me why it matters since /var/mail is NFS mounted?
Also, I have two more questions:
1. What is /export/mail. is this a local partition?
2. I am not sure the meaning of lofs. Does it mean a file system on local
disk,
if so, why didn't use /dev/dsk/... We only use NF
【在 w**n 的大作中提到】 : Is the /var/spool/mail or /var/mail NFS mounted?
| w**n 发帖数: 88 | 4 NFS's client root has no write permission on mounted partition by default.
lofs is loopback virtual file system , you could man lofs get more info.
【在 h*********s 的大作中提到】 : : Yes. /var/mail is NFS mounted. : cat /etc/mnttab|grep var : auto_direct /var/mail autofs direct,ro,nosuid,ignore,dev=3dc0001 : 1080130613 : /export/mail /var/mail lofs rw,suid,dev=800080 1083962476 : Could you tell me why it matters since /var/mail is NFS mounted? : Also, I have two more questions: : 1. What is /export/mail. is this a local partition? : 2. I am not sure the meaning of lofs. Does it mean a file system on local
|
|