BSD Ports

security/courierpasswd 1.1.3_1 FreeBSD

User authentication and password changing utility

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2+
Categories
security, mail
Package size
22.4 KiB, 49.3 KiB installed

Description

courierpasswd is an authentication and password changing utility that uses the courier-authlib authentication library to find user credentials.

Its interface follows that of Daniel J. Bernstein's checkpassword program.

In the other systems

SystemPortVersion
FreeBSDsecurity/courierpasswd1.1.3_1
DragonFlysecurity/courierpasswd1.1.3_1

Install

Binary package:

pkg install courierpasswd

From the ports tree:

cd /usr/ports/security/courierpasswd/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	courierpasswd>0:security/courierpasswd

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1.3_11.1.3_11.1.31.1.3_11.1.3_1
FreeBSD:14:quarterly1.1.3_11.1.3_1n/a1.1.3_11.1.3_1
FreeBSD:15:latest1.1.3_11.1.3_1n/a1.1.3_11.1.3_1
FreeBSD:15:quarterly1.1.3_11.1.3_1n/an/an/a
FreeBSD:16:latest1.1.3_11.1.3_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 10
Run dependencies 8

No port depends on this one.

Configuration

Options name: security_courierpasswd

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
gmake localbase
Service scripts
none

Message after installing

NOTES FOR RUNNING COURIERPASSWD

In order to use courierpasswd, it must be able to access the
authdaemon domain socket, named 'socket'. When courierpasswd runs as
root, this presents no problem. However, if you need to run courierpasswd
as a non-root user, you have three options, all of which require some
manual work.

Option 1: Add the user courierpasswd will run as the group that owns
the authdaemon socket directory in /etc/group. More than one user
can be added to the group vector in this way. This arrangement works
well if courierpasswd will be run by only a small number of users.
If the authdaemon socket directory is owned by courier:courier and you
run courierpasswd as user vmail, your /etc/group file will have a line
something like this:

    courier:x:465:vmail

Option 2: Some programs, such as tcpserver, allow you to separately set
the uid and gid of programs they call but don't honour the group vector
found in /etc/group. If you invoke courierpasswd from such a program,
set the gid to the group ownership of the authdaemon socket directory.
For tcpserver, you could do something like this:

    #!/bin/sh

    QMAILUID=`/usr/bin/id -u qmaild`
    COURIERGID=`/usr/bin/id -g courier`

    exec /usr/local/bin/tcpserver -u "$QMAILUID" -g "$COURIERGID" \
    0 smtp /var/qmail/bin/qmail-smtpd /usr/local/sbin/courierpasswd -- \
    /usr/bin/true 2>&1

Option 3: Change the permissions on courierpasswd to set gid to the
group ownership of the socket directory. Again, if the socket directory
is owned by courier:courier, change the ownership and permissions
of courierpasswd like so:

    chgrp courier courierpasswd
    chmod g+s courierpasswd

Be aware that courierpasswd does not provide any max-failed-retry
functionality so it is possible for local users to perform dictionary
attacks against account passwords if courierpasswd is set up this way.

The location of the authdaemon domain socket is listed in the
authdaemonrc configuration file as the parameter authdaemonvar.

===>   NOTICE:

The courierpasswd port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

distinfo 1
FileSizeSHA256
courierpasswd-1.1.3.tar.gz341024b063d92b4416b79b830c65a99bc9aa90b80cd46fc42a7af310af749687501592
Master sites 1
  • http://www.arda.homeunix.net/software-downloads/

Commit history 0

No commits in the history this site was built from.