Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 1999 14:46:03 -0500 (EST)
From:      David Gillham <dagill@unx.sas.com>
To:        freebsd-current@freebsd.org
Subject:   FTP and PAM syslog question
Message-ID:  <199912141946.OAA63744@frink.unx.sas.com>

next in thread | raw e-mail | index | archive | help
I've been working with ftp and PAM lately and I noticed that
when there is no entry for ftp in pam.conf the following messages
are generated in the system logs:

Dec 14 11:04:11 frink ftpd[61865]: no modules loaded for `ftpd' service
Dec 14 11:04:11 frink ftpd[61865]: auth_pam: Permission denied

My question is, is "Permission denied" the correct error message
to use here? The first message seems fine, but the second part
seems to imply that the user was denied access. Looking through
pam_strerror.c there doesn't seem to be a good error code for
"no module entry in pam.conf" (PAM_SERVICE_ERR perhaps?). Just 
trying to avoid confusion down the line.

Thanks,
Dave



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912141946.OAA63744>