--=-nkBM0eFieWLQrY4mGCBJ
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Does it work with non-root users? I don't know if /etc/securetty applies
to cyris, and it's really not a good idea to have mail delivered to root
or login to imap as root anyway. It should be forwarded to another
account.
-Tim
On Wed, 2001-12-19 at 14:02, Dustin Puryear wrote:
I am setting up Cyrus, cyrus-imapd-2.0.16_1, on a FreeBSD 4.4-RELEASE box
with cyrus-sasl-1.5.24_8 RFC 2222 SASL. Both were installed via the FreeBSD
ports tree (recently cvsup'd). For some reason I am unable to login using my
test accounts. Cyrus is reporting bad passwords. I am unsure what to do at
this point, and have found no documentation to help in troubleshooting this.
Any help is appreciated!
First, I did create the accounts and set the passwords:
mail# cyradm -u mailadmin mail
Please enter your password:
Dec 19 13:48:59 mail imapd[11595]: login: mail.example.com[10.0.0.5]
mailadmin DIGEST-MD5 User logged in
mail.example.com> lm
user.root
mail.example.com> exit
mail# sasldblistusers|grep root
user: root realm: mail.example.com mech: DIGEST-MD5
user: root realm: mail.example.com mech: PLAIN
user: root realm: mail.example.com mech: CRAM-MD5
I can log in using the root user account via cyradm:
mail# cyradm -u root mail
Please enter your password:
Dec 19 13:50:52 mail imapd[11608]: login: mail.example.com[10.0.0.5] root
DIGEST-MD5 User logged in
mail.example.com> lm
INBOX
mail.example.com> exit
But not by logging in remotely or using imtest:
mail# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost
Escape character is '^]'.
* OK mail.example.com Cyrus IMAP4 v2.0.16 server ready
0001 LOGIN "root" "password"
Incorrect password
0001 NO Login failed: Incorrect password
^]
telnet> quit
Connection closed.
On the console I get:
Dec 19 11:41:08 mail imapd[1701]: badlogin:
localhost.example.com[127.0.0.1] plaintext root
The same happens with imtest:
mail# imtest -p imap -a root -m login mail
C: C01 CAPABILITY
S: * OK mail.example.com Cyrus IMAP4 v2.0.16 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID
NO_ATOMIC_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT
THREAD=REFERENCES IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5
S: C01 OK Completed
Password:
C: L01 LOGIN root {7}
+ go ahead
C: <omitted>
Dec 19 11:15:54 mail imapd[1640]: badlogin: mail.example.com[10.0.0.5]
plaintext root Incorrect password
^C
Is something not running right? I have both master and pwcheck running:
root 221 0.0 0.2 996 580 ?? Is 1:50AM 0:00.08
/usr/local/sbin/pwcheck
cyrus 1165 0.0 0.5 2340 1192 p0- I 3:56AM 0:00.14
/usr/local/cyrus/bin/master
Regards, Dustin
---
Dustin Puryear <[EMAIL PROTECTED]>
Information Systems Consultant
http://members.telocity.com/~dpuryear
In the beginning the Universe was created.
This has been widely regarded as a bad move. - Douglas Adams
================================================
BRLUG - The Baton Rouge Linux User Group
Visit http://www.brlug.net for more information.
Send email to [EMAIL PROTECTED] to change
your subscription information.
================================================
--=-nkBM0eFieWLQrY4mGCBJ
Content-Type: text/html; charset=utf-8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/0.14.99">
</HEAD>
<BODY>Does it work with non-root users? I don't know if /etc/securetty applies
to cyris, and it's really not a good idea to have mail delivered to root or
login to imap as root anyway. It should be forwarded to another account.<br>
<br>
-Tim<br>
<br>
<br>
On Wed, 2001-12-19 at 14:02, Dustin Puryear wrote:
<blockquote>
<pre><FONT COLOR="#737373"><FONT SIZE="3"><I>I am setting up Cyrus,
cyrus-imapd-2.0.16_1, on a FreeBSD 4.4-RELEASE box</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>with cyrus-sasl-1.5.24_8 RFC 2222 SASL.
Both were installed via the FreeBSD</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>ports tree (recently cvsup'd). For some
reason I am unable to login using my</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>test accounts. Cyrus is reporting bad
passwords. I am unsure what to do at</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>this point, and have found no
documentation to help in troubleshooting this.</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Any help is
appreciated!</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>First, I did create the accounts and
set the passwords:</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>mail# cyradm -u mailadmin
mail</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Please enter your
password:</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Dec 19 13:48:59 mail imapd[11595]:
login: mail.example.com[10.0.0.5]</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>mailadmin DIGEST-MD5 User logged
in</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>mail.example.com>
lm</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>user.root</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>mail.example.com>
exit</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>mail# sasldblistusers|grep
root</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>user: root realm: mail.example.com
mech: DIGEST-MD5</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>user: root realm: mail.example.com
mech: PLAIN</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>user: root realm: mail.example.com
mech: CRAM-MD5</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>I can log in using the root user
account via cyradm:</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>mail# cyradm -u root
mail</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Please enter your
password:</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Dec 19 13:50:52 mail imapd[11608]:
login: mail.example.com[10.0.0.5] root</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>DIGEST-MD5 User logged
in</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>mail.example.com>
lm</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>INBOX</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>mail.example.com>
exit</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>But not by logging in remotely or using
imtest:</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>mail# telnet localhost
143</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Trying 127.0.0.1...</FONT></I></FONT
SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Connected to localhost</FONT></I></FONT
SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Escape character is
'^]'.</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>* OK mail.example.com Cyrus IMAP4
v2.0.16 server ready</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>0001 LOGIN "root"
"password"</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Incorrect password</FONT></I></FONT
SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>0001 NO Login failed: Incorrect
password</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>^]</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>telnet> quit</FONT></I></FONT
SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Connection closed.</FONT></I></FONT
SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>On the console I get:</FONT></I></FONT
SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Dec 19 11:41:08 mail imapd[1701]:
badlogin:</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>localhost.example.com[127.0.0.1]
plaintext root</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>The same happens with
imtest:</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>mail# imtest -p imap -a root -m login
mail</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>C: C01 CAPABILITY</FONT></I></FONT
SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>S: * OK mail.example.com Cyrus IMAP4
v2.0.16 server ready</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>S: * CAPABILITY IMAP4 IMAP4rev1 ACL
QUOTA LITERAL+ NAMESPACE UIDPLUS ID</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>NO_ATOMIC_RENAME UNSELECT MULTIAPPEND
SORT THREAD=ORDEREDSUBJECT</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>THREAD=REFERENCES IDLE AUTH=DIGEST-MD5
AUTH=CRAM-MD5</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>S: C01 OK Completed</FONT></I></FONT
SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Password:</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>C: L01 LOGIN root {7}</FONT></I></FONT
SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>+ go ahead</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>C: <omitted></FONT></I></FONT
SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Dec 19 11:15:54 mail imapd[1640]:
badlogin: mail.example.com[10.0.0.5]</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>plaintext root Incorrect
password</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>^C</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Is something not running right? I have
both master and pwcheck running:</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>root 221 0.0 0.2 996 580 ??
Is 1:50AM 0:00.08</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT
SIZE="3"><I>/usr/local/sbin/pwcheck</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>cyrus 1165 0.0 0.5 2340 1192 p0-
I 3:56AM 0:00.14</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT
SIZE="3"><I>/usr/local/cyrus/bin/master</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Regards, Dustin</FONT></I></FONT
SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>---</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Dustin Puryear <[EMAIL
PROTECTED]></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Information Systems
Consultant</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT
SIZE="3"><I>http://members.telocity.com/~dpuryear</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>In the beginning the Universe was
created.</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>This has been widely regarded as a bad
move. - Douglas Adams</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT
SIZE="3"><I>================================================</FONT></I></FONT
SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>BRLUG - The Baton Rouge Linux User
Group</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Visit http://www.brlug.net for more
information.</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>Send email to [EMAIL PROTECTED] to
change</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT SIZE="3"><I>your subscription
information.</FONT></I></FONT SIZE="3">
<FONT COLOR="#737373"><FONT
SIZE="3"><I>================================================</FONT></I></FONT
SIZE="3">
</pre>
</blockquote>
</BODY>
</HTML>
--=-nkBM0eFieWLQrY4mGCBJ--
================================================
BRLUG - The Baton Rouge Linux User Group
Visit http://www.brlug.net for more information.
Send email to [EMAIL PROTECTED] to change
your subscription information.
================================================