[Dovecot] Fatal: Login process must not run as root
Hi all,
I am new to dovecot, i had installed dovecot in RH9 machine and when i tried to run( as root) it, i am getting the below message in the log file.
dovecot: Jun 11 18:57:16 Fatal: Login process must not run as root
I have done the installation as below ( as normal user):
./configure
make
sude make install
When i try to run as a normal user i am getting the error like
Error: Can't write to log directory /var/log: Permission denied
Can anybody tell me where i am doing mistake ?
Thanks in advance
Regards, Santhosh
dovecot.conf
login_user = dovecot protocol lda { log_path = /var/log/dovecot-deliver.log info_log_path = /var/log/dovecot-deliver.log }
You must run /usr/sbin/dovecot as root The permissions of /var/log/dovecot-deliver.log are 666 (because the process write as "authenticate user") The permissions of /var/log/dovecot.log are 600 (because the process write as root)
santhosh escribió:
Hi all,
I am new to dovecot, i had installed dovecot in RH9 machine and when i tried to run( as root) it, i am getting the below message in the log file.
dovecot: Jun 11 18:57:16 Fatal: Login process must not run as root
I have done the installation as below ( as normal user):
./configure make sude make install
When i try to run as a normal user i am getting the error like
Error: Can't write to log directory /var/log: Permission denied
Can anybody tell me where i am doing mistake ?
Thanks in advance
Regards, Santhosh
hi,
Sorry...... I am using dovecot1.0.0
./dovecot -n
# /usr/local/etc/dovecot.conf log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot-info.log ssl_disable: yes disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login login_user: balaji mail_extra_groups: mail mail_location: mbox:~/mail:INBOX=/var/mail/%u mail_debug: yes auth default: user: santhosh passdb: driver: passwd-file args: /etc/passwd.dovecot userdb: driver: passwd
Now i am able to run the dovecot. I din't understand the below mentioned line
auth default: user: santhosh passdb: driver: passwd-file args: /etc/passwd.dovecot userdb: driver: passwd
How to create users in the dovecott ?
Regards, Santhosh ----- Original Message ----- From: "Charles Marcus" CMarcus@Media-Brokers.com To: dovecot@dovecot.org Sent: Monday, June 11, 2007 3:18 PM Subject: Re: [Dovecot] Fatal: Login process must not run as root
Can anybody tell me where i am doing mistake ?
First mistake is not providing a bit of info on your setup... ;)
dovecot version?
dovecot -n output?
--
Best regards,
Charles
Hello santhosh,
santhosh, 11.06.2007 (d.m.y):
How to create users in the dovecott ?
Dovecot cannot administer a user list of its own. Instead, you can "connect" it to whatever user administration tool your system is using, e.g. LDAP, MySQL or "plain" passwd-like files.
Gruss/Regards, Christian Schmidt
-- You should emulate your heros, but don't carry it too far. Especially if they are dead.
participants (4)
-
Antonio Casado Rodríguez
-
Charles Marcus
-
Christian Schmidt
-
santhosh