aboutsummaryrefslogtreecommitdiff
path: root/lib/libpam/modules/pam_securetty
Commit message (Collapse)AuthorAgeFilesLines
* libpam: Move to a new "pam" packageLexi Winter2025-11-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | OpenPAM is a discrete, largely self-contained system component. Users may not need PAM for many use-cases (e.g. jails, containers), so move it to its own package. Use LIB_PACKAGE to create a separate pam-lib package for libpam, so that applications that support PAM don't need to bring in all the PAM modules if PAM isn't actually in use. Add pam to the minimal sets, since this is a core system component that people expect to be installed. This means all supported installation methods will install the PAM modules by default, so don't add explicit dependencies on the PAM modules from things that use PAM (e.g. runtime), allowing custom/embedded systems to omit these easily. This change adds a new package to the system so, until we have a proper policy on how to handle this in release/stable branches, it should not be MFC'd. MFC after: never Reviewed by: des, bapt Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D53602
* libpam: Don't put man8 in the dev packageLexi Winter2025-11-101-3/+3
| | | | | | | | | | | | These are user-facing manpages, but were installed in the runtime-dev package since the PAM modules use bsd.lib.mk. Use MANNODEV instead of MAN to put them in the base runtime package instead. Fixes: 031e711647c3 ("packages: Install development manpages in the -dev package") MFC after: 3 days Reviewed by: bapt Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D53601
* manuals: Fix "unusual .Xr" warnings with a scriptGraham Percival2024-10-151-2/+2
| | | | | | | | | | | | | These were reported by `mandoc -T lint ...` as warnings: - unusual Xr order - unusual Xr punctuation Fixes made by script in https://github.com/Tarsnap/freebsd-doc-scripts Signed-off-by: Graham Percival <gperciva@tarsnap.com> Reviewed by: mhorne, Alexander Ziaee <concussious.bugzilla@runbox.com> Sponsored by: Tarsnap Backup Inc. Pull Request: https://github.com/freebsd/freebsd-src/pull/1464
* lib: Automated cleanup of cdefs and other formattingWarner Losh2023-11-271-1/+0
| | | | | | | | | | | | | | | | Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+0
|
* Fix dead refs to pam(8) with pam(3) as well as some other PAM functions.Jens Schweikhardt2022-09-161-1/+1
|
* pkgbase: Put more binaries/lib in runtimeEmmanuel Vadot2021-12-211-0/+2
| | | | | | | | | Move some needed binaries/libs from FreeBSD-utilities to FreeBSD_runtime. This is everything needed to boot to multiuser with FreeBSD-rc installed. MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33435
* lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-261-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326219
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * Updated/new dependenciesSimon J. Gerraty2014-11-191-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=274694
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Updated/new Makefile.dependSimon J. Gerraty2012-11-081-0/+4
| | | | | | | | Notes: svn path=/projects/bmake/; revision=242788
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+16
|/ | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* Fix numerous constness and aliasing issues.Dag-Erling Smørgrav2004-02-101-1/+1
| | | | Notes: svn path=/head/; revision=125650
* Fix strict aliasing breakage in PAM modules (except pam_krb5, which needsDag-Erling Smørgrav2003-12-111-3/+4
| | | | | | | more work than the others). This should make most modules build with -O2. Notes: svn path=/head/; revision=123448
* style.Makefile(5) policeDavid E. O'Brien2003-03-091-3/+3
| | | | | | | | | (I've tried to keep to the spirit of the original formatting) Reviewed by: des Notes: svn path=/head/; revision=112044
* Major cleanup:Dag-Erling Smørgrav2002-04-121-77/+9
| | | | | | | | | | | | | | | | - add __unused where appropriate - PAM_RETURN -> return since OpenPAM already logs the return value. - make PAM_LOG use openpam_log() - make PAM_VERBOSE_ERROR use openpam_get_option() and check flags for PAM_SILENT - remove dummy functions since OpenPAM handles missing service functions - fix various warnings Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=94564
* Moved SHLIB_NAME definition into one place.Ruslan Ermilov2002-04-101-1/+0
| | | | | | | Approved by: des Notes: svn path=/head/; revision=94372
* NAI DBA update.Dag-Erling Smørgrav2002-03-142-2/+2
| | | | Notes: svn path=/head/; revision=92297
* Switch to OpenPAM. Bump library version. Modules are now versioned, soDag-Erling Smørgrav2002-03-051-1/+1
| | | | | | | | | | | | applications linked with Linux-PAM will still work. Remove pam_get_pass(); OpenPAM has pam_get_authtok(). Remove pam_prompt(); OpenPAM has pam_{,v}{error,info,prompt}(). Remove pam_set_item(3) man page as OpenPAM has its own. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=91714
* #include cleanup.Dag-Erling Smørgrav2002-02-051-1/+2
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=90229
* WARNS=n fixes (and some stylistic issues).Mark Murray2002-02-031-2/+2
| | | | Notes: svn path=/head/; revision=90145
* Move the code from pam_sm_authenticate() to pam_sm_acct_mgmt(). SimplifyDag-Erling Smørgrav2002-01-302-62/+58
| | | | | | | | | | | it a little and try to make it more resilient to various possible failure conditions. Change the man page accordingly, and take advantage of this opportunity to simplify its language. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=89991
* WARNS=4 fixes. Protect with NO_WERROR for the modules that haveMark Murray2002-01-241-6/+6
| | | | | | | warnings that are hard to fix or that I've been asked to leave alone. Notes: svn path=/head/; revision=89760
* Add dummy functions for all module types. These dummies return PAM_IGNOREDag-Erling Smørgrav2001-12-051-0/+62
| | | | | | | | | | rather than PAM_SUCCESS, so you'll get a failure if you list dummies but no real modules for a particular module chain. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=87398
* Add __FBSDID()s to libpamMatthew Dillon2001-09-301-2/+3
| | | | Notes: svn path=/head/; revision=84218
* Document the no_warn option.Mark Murray2001-08-151-1/+6
| | | | Notes: svn path=/head/; revision=81729
* General code clean-up. Sort out warnings, and make the warning andMark Murray2001-08-101-6/+14
| | | | | | | logging work the same as other modules. Notes: svn path=/head/; revision=81475
* mdoc(7) police: -xwidth has been fold into -width.Ruslan Ermilov2001-07-131-1/+1
| | | | Notes: svn path=/head/; revision=79658
* mdoc(7) police: fixed markup, a little bit.Ruslan Ermilov2001-07-111-6/+8
| | | | Notes: svn path=/head/; revision=79577
* Clean up (and in some cases write) the PAM mudules, usingMark Murray2001-07-093-18/+108
| | | | | | | | | | | | | o The new options-processing API o The new DEBUG-logging API Add man(1) pages for ALL modules. MDOC-Police welcome to check this. Audit, clean up while I'm here. Notes: svn path=/head/; revision=79476
* Add some new utility authenticators.Mark Murray2001-06-042-0/+122
pam_securetty silently succeeds if the user is on a secure tty as defined by /etc/ttys. pam_ftp does "anonymous ftp" style authentication with options for specifying the anonymous user(s). Notes: svn path=/head/; revision=77714