summaryrefslogtreecommitdiffstats
path: root/usr.bin/su/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Convert to usr.bin/ to LIBADDbapt2014-11-251-4/+2
| | | | Reduce overlinking
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| | | | from the latter.
* Undo r226423.ed2011-10-161-0/+2
| | | | | It seems su does build without warnings, but it requires a small fix to libbsm headers, which I have not committed to SVN yet.
* Remove WARNS line. This tool builds with WARNS=6 properly.ed2011-10-161-2/+0
|
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Integrate audit_submit(3) bits into su. This means that records forcsjp2006-09-011-0/+8
| | | | | | | | | | | | successful and failed su attempts will be recorded using the AUE_su event type (login or lo class) if auditing is present in the system. Currently, the records will have a header, subject, text (with the actual diagnostics), a return and trailer token. See audit_submit(3) for more information. Reviewed by: rwatson Obtained from: TrustedBSD Project
* 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 of assignments.ru2004-02-021-2/+2
|
* Remove to-be-default WARNS?=2markm2001-12-121-2/+0
|
* 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.
* Reinstate complete (and now correctly functioning) WARNS=2.markm2001-09-121-3/+1
|
* Back out (with prejudice) the last WARNS=2 fix. I cannot understandmarkm2001-09-071-1/+3
| | | | its failure mode, and will revisit it later.
* WARNS=2 fixes.markm2001-09-041-3/+1
| | | | | | | | The remaining problem of converting highly incompatible pointer types is done by "laundering" the value through a union. This solves the problem (in my own mind) of how a "const char *" _ever_ actually gets a value in a WARNS=2 world.
* WARNS=2 type cleanup.markm2001-08-111-0/+4
| | | | | | | WARNS=2 cannot be enable because of an unresolvable conflict in arg 2 of execv(). Document this in the Makefile. Reviewed by: bde (su.c only)
* Deconvolute the authentication mess, and hand total responsiblitymarkm2001-05-261-18/+2
| | | | | | | | | | for authentication to PAM. This meens that WHEELSU-type logic can now be effected in the pam.conf "su" configuration stack. While here, clean up the mess that the code had assumed over years of hacking by folks using different styles. ANSIfy. There is more policy in here that can be handed over to PAM. This will be revisited.
* Dike out Kerberos(IV) support on the grounds that better kerberosmarkm2001-04-281-7/+0
| | | | support can be gotten via PAM.
* Add full PAM support for account management and sessions.markm2001-03-271-3/+12
| | | | | | | 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>
* Use libcrypto in place of libdes.markm2000-02-241-2/+2
|
* 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.
* Change edistribution to krb4 in preaparation for K5markm1999-09-191-1/+1
|
* Fix Common Error brokenness.markm1999-09-061-2/+2
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fixed editing error in previous commit. `-lmd' (link libmd) became `-md'bde1999-08-151-4/+4
| | | | | | | (emulate the 'd' linker (?)). This was most harmful for the NOSHARED=yes case since libskey.o isn't linked to libmd.a. Fixed the usual disorder of DPADD and LDADD, and some tab lossage.
* Axe LOGIN_CAP_AUTH.sheldonh1999-08-131-13/+5
| | | | | | PR: 10115 Reported by: Gene Skonicki <gene@cif.rochester.edu> Requested by: jdp
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-2/+1
|
* Removed a buggy ifdef for not linking libmd explicitly. Explicitbde1998-09-021-9/+3
| | | | | | | linkage is needed for the NOSHARED=YES case, so it is simplest to never depend on the automagic linkage for elf shared libraries. Reviewed by: jdp
* Add $Id$gpalmer1998-08-301-0/+1
|
* Still need -lmd on the alpha as it doesn't have shlibs yetgpalmer1998-08-301-1/+1
|
* BINFORMAT -> OBJFORMAT ready for E-day.jb1998-08-301-1/+1
|
* Fix LIBDIR (for aout/ELF).markm1998-08-061-1/+1
|
* Changes for KTH KerberosIV.markm1997-09-281-2/+2
| | | | | | | | | | | Quieten -Wall a bit. From Joe Traister: The previous patch did not propogate the KRBTKFILE environment variable into the new environment when -l is given to su, making it impossible for kdestroy to find the ticket file. This patch corrects that problem as well as the original segfault problem. (Fixes PR 3903)
* If elf, don't add libmd.a just because we link against libskey.so.peter1997-09-051-0/+3
| | | | A
* Move libmd after all libraries to keep natural libraries orderache1997-05-231-3/+3
|
* Make su login_cap savvy.davidn1997-01-131-4/+14
| | | | | As with login(1), LOGIN_CAP_AUTH is not yet enabled since we don't yet have authorisation modules.
* Better integrate kerberos into su so that if an incorrect Kerberosmarkm1996-03-091-0/+1
| | | | | | | password is entered, the user is not prompted for a password a second time. This closes pr-bin/1006.
* Make it possible to enable WHEELSU from /etc/make.conf.wollman1995-10-121-1/+4
|
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* Change the library order so libcrypt is the last library in the list.nate1995-03-181-2/+2
| | | | | | 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.
* Add distribution=krb for P-HKwollman1994-11-201-0/+1
|
* Include most of the logdaemon v4.4 S/key changespst1994-10-191-4/+4
|
* Add support for s/keyspst1994-09-291-2/+6
|
* First level of changes for bringing in eBones (kerberos).csgr1994-09-291-3/+9
| | | | | | | | - 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.
* LDADD= -lcryptcsgr1994-08-201-1/+2
| | | | Submitted by: Geoff
* Don't use kerberos yet, we aren't ready.wollman1994-08-051-3/+3
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+11
OpenPOWER on IntegriCloud