summaryrefslogtreecommitdiffstats
path: root/usr.bin/login/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarru2004-11-031-1/+1
| | | | | | | | to PRECIOUSLIB from bsd.lib.mk. The side effect of this is making installing the world under jail(8) possible by using another knob, NOFSCHG. Reviewed by: oliver
* Fixed style bugs in previous commit (.ifndef instead of .if defined(),bde2004-02-291-3/+2
| | | | | | and tab lossage). Garbage-collected NEED_LIBNAMES.
* I am a moron.des2004-02-271-1/+1
|
* Re-add the setuid bit, conditional on NO_SETUID_LOGIN being undefined.des2004-02-271-0/+5
|
* Cut through the bikeshed and remove login(1)'s setuid bit. It has nodes2004-02-271-3/+0
| | | | | business trying to impersonate su(1), and it does not need to be setuid to function properly when invoked by getty(8) or telnetd(8).
* GC (now unused here) -lcrypt.ru2004-02-021-2/+2
|
* Fixed some style bugs ("From:" in vendor id line, disordered MAN line, andbde2002-04-211-5/+2
| | | | | | blank lines). Not unapproved of by: markm
* Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.markm2002-02-081-2/+0
|
* Still with asbestos longjohns on, completely PAMify login(1) and removedes2002-01-301-3/+3
| | | | | | code made redundant by various PAM modules (primarily pam_unix(8)). Sponsored by: DARPA, NAI Labs
* Work around world breakage in previous commit. The bug is inbde2001-12-011-2/+2
| | | | | | | | | <security/pam_misc.h>. It declares a function parameter named 'send', so nothing that includes both <unistd.h> (which declares send(2)) and <security/pam_misc.h> be compiled with WARNS=2 unless NO_WERRROR is set. Fixed order of WARNS.
* WARNS=2 fixes.markm2001-12-011-0/+2
| | | | Reviewed by: bde (a while back)
* Set BINOWN=root explicitly for setuid root binaries.ru2001-09-131-0/+1
| | | | | | This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case.
* Like su(1), make PAM use mandatory. Remove parts of the authenticationmarkm2001-08-301-9/+3
| | | | logic that are handled by PAM. Fix documentation to reflect this.
* Clean out some cruft that has been put in a better (central) place.markm2001-05-011-5/+0
|
* Enable (optional) static linking.markm2001-04-281-0/+5
|
* Add full PAM support for account management and sessions.markm2001-03-271-3/+2
| | | | | | | The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux package's PAM patches to the BSD login.c Submitted by: "David J. MacKenzie" <djm@web.us.uu.net>
* MAN[1-9] -> MAN.ru2001-03-271-2/+1
|
* Revert the libcrypt/libmd stuff back to how it was. This should not havepeter1999-12-181-2/+2
| | | | | | | | happened as it was working around problems elsewhere (ie: binutils/ld not doing the right thing according to the ELF design). libcrypt has been adjusted to not need the runtime -lmd. It's still not quite right (ld is supposed to work damnit) but at least it doesn't impact all the users of libcrypt in Marcel's cross-build model.
* Add libmd (or move it after libcrypt). We don't want the linker to bemarcel1999-12-161-2/+2
| | | | | smart because it will definitely get it wrong. This popped up during cross-linking.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Force <bsd.libnames.mk> to be included, regardless of the objectjdp1999-01-221-1/+2
| | | | | format. This fixes the undefined symbols when building login for a.out.
* Allow login to be linked statically even when PAM is used, sincejdp1999-01-201-4/+2
| | | | there is now a static version of libpam.
* Add a compile knob to avoid using PAM code (login will use standard Unixabial1999-01-191-3/+11
| | | | | | | authentication only). This comes handy when you're tight on space. Submitted by: mostly John Baldwin <jobaldwi@vt.edu> Reviewed by: John D. Polstra <jdp@polstra.com>
* Work around the problem that login won't link if NOSHARED=yes,jdp1998-11-211-1/+2
| | | | | | | | | | because libpam is built shared only. There is a way to build PAM into a static library that contains all (or a selected subset) of the modules. But our Makefiles don't support that yet. Until I get that working, just force NOSHARED=no in login's Makefile. Of course, it still won't work if NOPIC is set. Submitted by: bde
* ATTENTION: INSTALL "/etc/pam.conf" FROM "src/etc"!!!jdp1998-11-211-16/+4
| | | | | | | | Change login to use PAM for authentication. I kept the built-in passwd/NIS authentication support, to handle cases where the system is missing its "/etc/pam.conf" file. S/Key and KerberosIV authentication methods are removed from the login program, but still available in PAM modules.
* unifdef -DLOGIN_CAP. After almost 2 years, I think we can assumejdp1998-11-111-2/+2
| | | | | | it's here to stay. This code is starting to look almost reasonable again.
* Remove support for LOGIN_CAP_AUTH. It was never enabled, it wasjdp1998-11-111-6/+3
| | | | | | | | | not complete, and it hasn't been touched for 18 months. All the ifdefs obfuscate the code. I discussed the LOGIN_CAP_AUTH support with its author and he agreed that it is a dead end. I am bringing PAM into the tree within the next two weeks. It is much more flexible than LOGIN_CAP_AUTH, and will serve as a superior replacement for it.
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-2/+1
|
* Fix LIBDIR (for aout/ELF).markm1998-08-061-1/+1
|
* Changes for KTH KerberosIV.markm1997-09-281-11/+5
| | | | Also quieten -Wall a bit.
* "lmd" -> "-lmd"nate1997-09-051-2/+2
| | | | Submitted by: Vincent Poy <vince@venus.gaianet.net>
* If building elf, don't link in libmd.a just for libskey.so to use. Underpeter1997-09-051-3/+9
| | | | elf, libskey.so will not expose it's implementation on it's caller.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Makes login login_cap-savvy.davidn1997-01-111-3/+6
| | | | | | | | | | Note that LOGIN_CAP_AUTH code (login authentication) is not (yet) enabled and requires /usr/libexec/login_<style> authentication program support to be added at a later date. The Makefile contains a macro LC_AUTH to turn it on and prevent unnecessarily linking against skey/krb libs and the addition of klogin.c module. All other aspects of login_cap support are fully functional.
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Change the library order so libcrypt is the last library in the list.nate1995-03-181-3/+3
| | | | | | libskey contains references to _crypt and can't resolve it unless -lcrypt occurs after it in the link command. This only occurs when linking statically.
* Modify klogin to:wollman1995-01-141-3/+6
| | | | | | | | | | 1) Don't spit out an error message if Kerberos is installed but not yet set up. 2) Don't attempt to verify the ticket you got back, as workstations are not intended to have srvtab files of their own. Both behaviors can be re-enabled with KLOGIN_PARANOID.
* Add distribution=krb for P-HKwollman1994-11-201-1/+2
|
* Include most of the logdaemon v4.4 S/key changespst1994-10-191-7/+8
|
* Undo damage done between revisions 1.6 and 1.7csgr1994-09-301-6/+12
| | | | (Guys, please don't DAMAGE commits that have just gone in.)
* Install support for skey and login.accesspst1994-09-291-12/+6
|
* First level of changes for bringing in eBones (kerberos).csgr1994-09-291-6/+12
| | | | | | | | - Get rid of inverse logic (NOKERBEROS and NOEBONES) in src/makefile, and replace with MAKE_KERBEROS and MAKE_EBONES. (Far fewer contortions, and both default to off.) IF YOU WANT KERBEROS, YOU HAVE TO EXPLICITLY DEFINE ONE OF THESE. - Make Makefiles kerberos-aware.
* Implemnet fbtab ala SunOS (thanks to WZV, see login_fbtab.c)guido1994-08-221-1/+1
| | | | | Reviewed by: Submitted by: guido
* Add skey supprotguido1994-08-211-3/+7
| | | | | Reviewed by: Submitted by: guido
* LDADD= -lcryptcsgr1994-08-201-1/+1
| | | | Submitted by: Geoff
* Don't compile with kerberos yet, we aren't ready.wollman1994-08-051-4/+7
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+12
OpenPOWER on IntegriCloud