Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
imapd authentification problem [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Fri Mar 05, 2004 1:42 pm    Post subject: imapd authentification problem [solved] Reply with quote

In clients, it ask to enter the password again and again.

In the log:
Code:
Mar  5 03:26:59 [imapd] LOGIN: DEBUG: ip=[192.168.1.11], command=LOGIN
Mar  5 03:26:59 [imapd] LOGIN: DEBUG: ip=[192.168.1.11], username=tecknojunky
Mar  5 03:26:59 [imapd] chdir "/home/tecknojunky": Permission denied
Mar  5 03:37:32 [imapd] Connection, ip=[192.168.1.11]
Mar  5 03:37:32 [imapd] LOGIN: DEBUG: ip=[192.168.1.11], command=CAPABILITY
Mar  5 03:37:34 [imapd] LOGIN: DEBUG: ip=[192.168.1.11], command=LOGIN
Mar  5 03:37:34 [imapd] LOGIN: DEBUG: ip=[192.168.1.11], username=tecknojunky
Mar  5 03:37:34 [imapd] chdir "/home/tecknojunky": Permission denied
Mar  5 03:38:25 [imapd] Connection, ip=[192.168.1.11]
Mar  5 03:38:25 [imapd] LOGIN: DEBUG: ip=[192.168.1.11], command=CAPABILITY
Mar  5 03:38:25 [imapd] LOGIN: DEBUG: ip=[192.168.1.11], command=LOGIN
Mar  5 03:38:25 [imapd] LOGIN: DEBUG: ip=[192.168.1.11], username=tecknojunky
Mar  5 03:38:25 [imapd] chdir "/home/tecknojunky": Permission denied


But, but...
Quote:
# ls -ld /home/tecknojunky
drwx--x--x 7 tecknojunky users 392 Feb 17 14:11 /home/tecknojunky/
baby root # su tecknojunky
Cannot execute /bin/bash: Permission denied
baby root # su - tecknojunky
Unable to cd to "/home/tecknojunky"
baby root # whothehellami
-bash: whothehellami: command not found
baby root # whoami
root

_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.


Last edited by tecknojunky on Fri Mar 05, 2004 4:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
indros
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2002
Posts: 139

PostPosted: Fri Mar 05, 2004 2:41 pm    Post subject: Reply with quote

Loosen up your group permissions. The IMAP Server isn't being run as technojunky, I am sure.
_________________
Visit TheZees!
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Fri Mar 05, 2004 4:02 pm    Post subject: Reply with quote

it's been running this way for months. For a reason I can't yet determin, I have rights problems permissions all over the place. As you can see, i can't even log in exept has root. So there must be something going on with something that is common to all authentications.

Another proof comes from this exterp from my ps -ef
Code:
qmaill   22753  1451  0 06:14 ?        00:00:00 [setuidgid] <defunct>
qmaill   22754  1447  0 06:14 ?        00:00:00 [setuidgid] <defunct>


[solution]
Found the solution here: https://forums.gentoo.org/viewtopic.php?t=78820

In clear, find the error in this snippet
Code:
baby / # ls -alh
total 28K
d-----x---   19 ftp      root          488 Feb  6 17:00 ./
d-----x---   19 ftp      root          488 Feb  6 17:00 ../
drwxrwxrwx    2 root     root           72 Feb  6 17:00 .pyzor/
drwxr-xr-x    2 root     root          296 Mar  5 03:04 .razor/
drwxr-xr-x    2 root     root         4.5K Feb 27 18:01 bin/
drwxr-xr-x    2 root     root           96 Feb 27 10:21 boot/
drwxr-xr-x    1 root     root            0 Dec 31  1969 dev/
drwxr-xr-x   44 root     root         3.4K Mar  5 06:11 etc/
drwxr-xr-x    6 root     root          176 Mar  4 17:14 home/
drwxr-xr-x    8 root     root         4.9K Feb 28 19:17 lib/
drwxr-xr-x    5 root     root          144 Feb 27 10:21 mnt/
drwxr-xr-x    3 root     root           96 Feb 27 10:21 opt/
dr-xr-xr-x   79 root     root            0 Mar  5 03:01 proc/
-rw-r--r--    1 root     root          175 Feb  6 17:00 razor-agent.log
drwx------   11 root     root          536 Mar  5 06:11 root/
drwxr-xr-x    2 root     root         3.3K Feb 28 12:50 sbin/
drwxr-xr-x    2 root     root          168 Dec 17 14:52 service/
drwxrwxrwt   11 root     root          896 Mar  5 03:20 tmp/
drwxr-xr-x   12 root     root          424 Feb 27 10:21 usr/
drwxr-xr-x   14 root     root          360 Feb 27 10:21 var/
[/solution]It now occurs to me that the partition refused to mount and I had to reserfsck --fix-fixable it to get it going again. What derailed me is that reiserfsck with call root something like the "[0 1]" folder.

Anyway, thanks for the help.
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum