Hi

A colleague asked me a question to which I had not given much thought before.

We all know that most postfix daemons/services run as unpriviliged
users (apart from local and virtual) but the master daemon runs with
root privileges?

Is it not a risk running master as root (the same reason for running
other processes as unprivileged) ?

output of ps and lsof commands on my system are attached below :

[root@vbg postfix]# ps -ef | grep master
root      2237     1  0 16:29 ?        00:00:00 /usr/libexec/postfix/master

[root@vbg postfix]# lsof -i tcp:25
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
master  2237 root   12u  IPv4  15503      0t0  TCP
localhost.localdomain:smtp (LISTEN)


Thanx in anticipation,


Regards

Varad Gupta

Reply via email to