由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - The sender info of mail command
相关主题
谁谈谈Loopback file system吧。help! my solaris 2.7 cannot boot up.
Dumb Questions on Solaris 2.7 InstallationHow disable rlogin/slogin?
Question: How to make room for /?Solaris下是不是本能访问ext3分区了?
救命!! 问题比较难!Solaris booting problem
怎么办?Re: [转载] Solaris 10网络安装问题
不好意思,问个问题mount question?
how to install printer in Solaris 2.5?I am crazy about this!!
how to configure networking after installationFreeBSD下,怎么给一个用户增加group
相关话题的讨论汇总
话题: mail话题: root话题: user话题: sender话题: command
进入Unix版参与讨论
1 (共1页)
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

1 (共1页)
进入Unix版参与讨论
相关主题
FreeBSD下,怎么给一个用户增加group怎么办?
Mounting NFS filesystems -- ERROR 请教大侠不好意思,问个问题
help, how to mount a network cdrom ?how to install printer in Solaris 2.5?
How to play .mpg file in Sun Solaris?how to configure networking after installation
谁谈谈Loopback file system吧。help! my solaris 2.7 cannot boot up.
Dumb Questions on Solaris 2.7 InstallationHow disable rlogin/slogin?
Question: How to make room for /?Solaris下是不是本能访问ext3分区了?
救命!! 问题比较难!Solaris booting problem
相关话题的讨论汇总
话题: mail话题: root话题: user话题: sender话题: command