LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-09-2010, 06:30 AM   #1
braakiss
LQ Newbie
 
Registered: Nov 2006
Posts: 12

Rep: Reputation: 0
Question I do not get poppassd working in Fedora 11


Hi all,

I have installed roundcube in my web server and I need to set up poppassd for users can change their password.

I have followed all the steps to set it up but it does not work.

First, I edited /etc/services and I uncommented the lines

Code:
3com-tsmux     106/tcp         poppassd
3com-tsmux     106/udp         poppassd
Before those lines you can read:
# unfortunately the poppassd (Eudora) uses a port which has already
# been assigned to a different service. We list the poppassd as an
# alias here. This should work for programs asking for this service.
# (due to a bug in inetd the 3com-tsmux line is disabled)

but I do not understand right the meaning

Then I put in /etc/xinetd.d/poppassd the next:

Code:
service poppassd
{
        socket_type = stream
        protocol = tcp
        wait = no
        disable = no
        user = root
        flags = KEEPALIVE
        server = /usr/sbin/poppassd
        only_from = 127.0.0.1
        log_on_success  += USERID
        log_on_failure  += USERID
}
And I restart xinetd.

It is supossed that it should work now if I do:

telnet localhost 106, but I get:

Code:
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
netstat -an | grep '106' returns only:
Code:
unix  3      [ ]         STREAM     CONNECTED     632106 /var/run/dbus/system_bus_socket
and

ps aux | grep poppassd says:

Code:
root     21559  0.0  0.0   4188   696 pts/0    S+   13:18   0:00 grep poppassd
so, poppassd is running but not listening any port?

Code:
nmap localhost

Starting Nmap 5.00 ( http://nmap.org ) at 2010-03-09 13:23 CET
Interesting ports on localhost.localdomain (127.0.0.1):
Not shown: 989 closed ports
PORT      STATE SERVICE
21/tcp    open  ftp
22/tcp    open  ssh
25/tcp    open  smtp
80/tcp    open  http
81/tcp    open  hosts2-ns
111/tcp   open  rpcbind
631/tcp   open  ipp
873/tcp   open  rsync
3306/tcp  open  mysql
3551/tcp  open  unknown
55555/tcp open  unknown
No firewall entries:

Code:
iptables -nL

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
If I run the command : /usr/sbin/poppassd it runs properly. I can change password, etc...

I do not know what to do. Logs does not say anything neither.

Anybody can help me?

Thanks in advance
 
Old 03-09-2010, 06:42 AM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Its not running at all, the only line in your ps out put is the grep you did to find it. The /etc/services instruction was an odd one, it only means that any connection to port 106 will show up as poppassd instead of 106.
 
Old 03-09-2010, 06:50 AM   #3
braakiss
LQ Newbie
 
Registered: Nov 2006
Posts: 12

Original Poster
Rep: Reputation: 0
So, it is not running. may the problem be in the poppassd file? I have been looking on the internet for hours but I do not find anything. Always I find the same examples.
 
Old 03-09-2010, 06:58 AM   #4
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Okay, lets take this slowly. Where are the instructions you have been using? Can you link me?
 
Old 03-09-2010, 07:06 AM   #5
braakiss
LQ Newbie
 
Registered: Nov 2006
Posts: 12

Original Poster
Rep: Reputation: 0
I have been using,

http://www.netwinsite.com/poppassd/
http://blog.irwan.name/?p=228
http://www.ecualug.org/2008/09/05/co..._su_contrasena

and I have been having a look in others sites but with the same luck.

Thank you for your help.
 
Old 03-09-2010, 07:20 AM   #6
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Okay, looks simple enough; which one did you follow? Your services looks different to the ones they give you (And to mine)

It looks like you're following too many different instructions here. Lets see if we can simplify:

You've downloaded change pass and put it in the Squirrel Mail plugin dir
Download the Poppassd and compile. Copy this binary into /usr/sbin
Add it to xinet.d
kill -HUP inetd # Hang Up (?); will restart it
Add it in Squirrel Mail.
 
Old 03-09-2010, 07:45 AM   #7
braakiss
LQ Newbie
 
Registered: Nov 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Actually, I have used this link http://www.netwinsite.com/poppassd/ to download and compile it. But that link talk about inetd instead of xinetd which fedora 11 uses, so I looked for an example with xinetd and found http://blog.irwan.name/?p=228.
As It did not work I look for other pages.

I am ussing Roundcube not Squirrelmail but it is the same.

Quote:
You've downloaded change pass and put it in the Squirrel Mail plugin dir
Done, in RoundCube I see the password tab.

Quote:
Download the Poppassd and compile. Copy this binary into /usr/sbin
Done, if I run /usr/bin/poppassd it works

Quote:
Add it to xinet.d
Do I put in /etc/xinetd.d/poppassd what http://blog.irwan.name/?p=228 says?

so:

Code:
# default: off
# description: The POPPASSD service allows remote users to change their
# password remotely via Eudora or NUPOP using a network
# protocol on port 106.

service poppassd
{
      disable = no
      socket_type             = stream
      wait                    = no
      user                    = root
      server                  = /usr/sbin/poppassd
      log_on_success          += USERID
      log_on_failure          += USERID
}

Code:
kill -HUP inetd # Hang Up (?); will restart it
Service inetd does not exist so I do not have to kill it, do I?

Well, poppassd is not running yet. I suposse the problem is in /etc/services or /etc/xinetx.d/poppassd.

any idea?

Thanks!!
 
Old 03-09-2010, 07:47 AM   #8
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Oh sorry, you said you were using Roundcube.

inetd should be running, yeah or xinet or whatever Fedora is using; this kill is to get it to restart and pull everything back in so it sees the change in the configs.
 
Old 03-09-2010, 10:51 AM   #9
braakiss
LQ Newbie
 
Registered: Nov 2006
Posts: 12

Original Poster
Rep: Reputation: 0
I restart the xinetd service, I have even restarted the server and nothing yet.

Waht else could I try?

Thanks
 
Old 03-09-2010, 10:59 AM   #10
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
I wonder, the basic; did you try a reboot? Another daft basic question, did you consider getting it from a repository? Is there one? http://rpm.pbone.net/index.php3?stat...assd&srodzaj=3 suggests there is
 
Old 03-09-2010, 11:21 AM   #11
braakiss
LQ Newbie
 
Registered: Nov 2006
Posts: 12

Original Poster
Rep: Reputation: 0
I already rebooted it and yesterday I downloaded a version to fedora 9 from the repository that you have just put, http://rpm.pbone.net/index.php3?stat...assd&srodzaj=3, but it did not work either.

let's see google tell me something

Thank very much
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running poppassd problem satimis Linux - Server 2 09-29-2014 03:17 PM
poppassd + open suse 10.2 Sleen Linux - Software 0 03-03-2008 02:26 AM
Postfix+Squirrelmail+Poppassd panicbox Linux - Software 0 02-28-2007 08:10 PM
about poppassd on fedora core 3 mehari Linux - Networking 0 05-06-2006 12:41 PM
poppassd jcb_dreamvsat Linux - General 1 02-26-2004 04:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration