where environment variable MAIL was set?
Zheng Tianyu
zhengtianyu1983 at yahoo.com.cn
Fri Mar 30 10:29:34 UTC 2007
Problem solved.
Thank you.
Zheng Tianyu
On Fri, Mar 30, 2007 at 10:59:36AM +0100, Vince wrote:
> Zheng Tianyu wrote:
> > Hi, All
> >
> > My account name is airfish, after I sued to root, I found that the
> > environment variable MAIL remained MAIL=/var/mail/airfish. As a result,
> > when I start mutt, it opens the airfish's mailbox. That's not what i
> > desired. But I can't find where the MAIL is set. Should I unsetenv MAIL
> > in my root's login file?
>
> >From the manpage:
> By default, the environment is unmodified with the exception of USER,
> HOME, and SHELL.
>
> and
>
>
> -l Simulate a full login. The environment is discarded except for
> HOME, SHELL, PATH, TERM, and USER. HOME and SHELL are
> modified as above.
>
> Vince
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list