summaryrefslogtreecommitdiffstats
path: root/login-utils/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: cleanup HAVE_LIBCRYPTKarel Zak2011-11-031-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* login: rewrite motd(), use MOTD_FILE from login.defsKarel Zak2011-10-261-1/+2
| | | | | | | | | Note that Suse login(1) does not use any default for MOTD_FILE, so MOTD_FILE item in login.defs is required otherwise nothing is printed. We use (for backward compatibility) /etc/motd as default. Signed-off-by: Karel Zak <kzak@redhat.com>
* login: add login.defs code and testsKarel Zak2011-10-261-1/+4
| | | | | | | | | | The new logindefs.c file contains /etc/login.defs parser and functions for searching in the list of the login default variables. The patch also contains a new regression test for the code. Based on pam_login-4.0 from Suse. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup islocal testKarel Zak2011-10-261-4/+3Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* login: remove unused code and testsKarel Zak2011-10-261-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* login: remove non-PAM codeKarel Zak2011-10-261-10/+1Star
| | | | | | If you need non-PAM login(1) then use shadow-utils or busybox. Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: Documentation directory addedSami Kerola2011-08-121-2/+0Star
| | | | | | | | Move readme, licence, change log, relese notes and other supplementary files to a Documentation directory. This commit does not change contents of any other but few Makefile.am files. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: move wall to term-utils/Karel Zak2011-03-021-14/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: move mesg to term-utils/Karel Zak2011-03-021-5/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: move agetty to term-utilsKarel Zak2011-03-021-10/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: improve check for cryptFabian Groffen2011-01-171-3/+2Star
| | | | | | | | | | | | | | | | | | | | | | | | | Check for crypt.h existence, and use it if available over using unistd.h for which a certain feature level has to be set to export a definition for crypt. On Solaris this set causes a standards conflict in the headers, because at the time of this check C99 mode is already enabled, which implies certain standards non-compatible with _XOPEN_SOURCE. 92 #define _XOPEN_SOURCE 93 #include <unistd.h> configure:16259: gcc -std=gnu99 -c -g -O2 conftest.c >&5 In file included from /usr/include/unistd.h:18, from conftest.c:93: /prefix/gentoo/usr/lib/gcc/i386-pc-solaris2.10/4.4.5/include-fixed/sys/feature_tests.h:341:2: error: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications" configure.ac: improve crypt check login-utils/my_crypt.h: replace old GNU_LIBRARY check with autoconf define for crypt.h [kzak@redhat.com: - remove my_crypt.h] Signed-off-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* simpleinit: move old init stuff to separate directoryKarel Zak2010-12-101-33/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* agetty: use nl_langinfo()Karel Zak2010-11-151-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: replace ../ with $top_srcdirKarel Zak2010-05-241-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* login: don't link PAMed version with libcryptKarel Zak2010-01-271-16/+16
| | | | | | | | | The login, chsh and chfn utils don't need to be linked against libcrypt. The libcrypt library is necessary only when login utils are not liked with PAM. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=559196 Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: rename to _execdirKarel Zak2009-07-041-10/+10
| | | | | | | | | | | | The variable name "usrlibexecdir" is very confusing (because we have /usr/libexec). The "exec" prefix is required for user-defined directories, see http://www.gnu.org/software/hello/manual/automake/The-Two-Parts-of-Install.html#The-Two-Parts-of-Install This patch renames all usr*execdir variables to usr*_execdir. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix exec/data install hooksKarel Zak2009-07-041-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove unnecessary check-local target from login-utils/Karel Zak2008-04-161-3/+0Star
| | | | | | We have all tests in the tests/ directory. Signed-off-by: Karel Zak <kzak@redhat.com>
* login: rewrite is_local() to remove limits on line lengthJames Youngman2008-04-141-1/+6
| | | | | Signed-off-by: James Youngman <jay@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use dist_man_MANS instead of man_MANSStepan Kasal2007-12-171-7/+7
| | | | Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: add --disable-makeinstall-chownKarel Zak2007-08-141-3/+3
| | | | | | | | A chown-like operations are unexpected when you execute "make install" as non-root user. For example RPM defines owner+permissions in .spec file -- you needn't to use root account to create useful RPM package. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: move -D flags to *_CPPFLAGSStepan Kasal2007-05-161-1/+1
| | | | | | | Preprocessor options belong to *_CPPFLAGS; add $(AM_CPPFLAGS) as we want to amend it, not override. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: do not build convenience libraries in lib/Stepan Kasal2007-05-161-7/+9
| | | | | | | Build lib/*.c individually for each project which uses it, so that the right set of flags is applied each time. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: add SUID_LDFLAGSStepan Kasal2007-05-161-0/+4
| | | | | | | Programs which are usually installed with the setuid bit do need their own CFLAGS and LDFLAGS. SUID_LDFLAGS is analogic to SUID_CFLAGS. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: do not kick off AM_CFLAGS by SUID_CFLAGSStepan Kasal2007-05-161-3/+3
| | | | | | | SUID_CFLAGS are not meant to override the makefile-wide AM_CFLAGS. (We do not use AM_CFLAGS currently, but we will.) Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: add SUID_CFLAGSKarel Zak2007-04-251-0/+4
| | | | | | | | The patch allows to define special CFLAGS for typical suid programs (like mount, umount, chfn, ...). Some distributions use for example "-fpic" for suid binaries. Signed-off-by: Karel Zak <kzak@redhat.com>
* login: add audit supportKarel Zak2007-03-121-0/+3
| | | | | | | The login command reports AUDIT_USER_LOGIN message to audit system (depends on --with-audit). Signed-off-by: Karel Zak <kzak@redhat.com>
* login: add regression test for IP address checking codeKarel Zak2007-03-091-0/+5
| | | | | | | The hnmatch() in checktty.c is checking IP addresses if the login util is compiled without PAM support. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add missing filesKarel Zak2007-01-041-9/+14
| | | | | | | This patch add all missing headers, man pages and README files to automake stuff and "make dist-gzip" produces useful tarball now. Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.13-pre4 tarball.Karel Zak2006-12-071-4/+2Star
|
* Imported from util-linux-2.13-pre3 tarball.Karel Zak2006-12-071-1/+1
|
* Imported from util-linux-2.13-pre2 tarball.Karel Zak2006-12-071-16/+19
|
* Imported from util-linux-2.13-pre1 tarball.Karel Zak2006-12-071-0/+112