freebsd-dev/usr.bin/login
Pedro F. Giffuni dcc6f62526 login(1): when exporting variables check the result of setenv(3)
When exporting a variable we correctly check all the preconditions that
could make setenv(3) fail. Checking the setenv(3) return value seems
redundant, but given that login(1) is critical, it doesn't hurt to have
a post-check.

This change is based on the "Principles of Secure Coding" course by
Matthew Bishop, PhD., which specifically discusses this code in FreeBSD.

(This change redoes r368776 due to a silly mistake)
2020-12-19 03:07:38 +00:00
..
fbtab Move fbtab, login.conf, and motd to usr.bin/login/ 2018-08-30 15:52:03 +00:00
login_audit.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
login_fbtab.c
login.1 motd: Generate from template to /var/run 2019-07-20 20:56:31 +00:00
login.access pkgbase: Really move login.access 2019-05-22 07:41:58 +00:00
login.c login(1): when exporting variables check the result of setenv(3) 2020-12-19 03:07:38 +00:00
login.conf Change the default locale to C.UTF-8 2020-11-14 19:16:39 +00:00
login.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile Normalize deployment tools usage and definitions by putting into one place 2020-04-07 02:46:22 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
motd.template Add more explicit instructions about updating motd 2020-10-19 01:16:39 +00:00
pathnames.h motd: Generate from template to /var/run 2019-07-20 20:56:31 +00:00
README

This login has additional functionalities. They are all based on (part of)
Wietse Venema's logdaemon package.


The following defines can be used:

- LOGALL to log all logins


-Guido

$FreeBSD$