dcc6f62526
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) |
||
---|---|---|
.. | ||
fbtab | ||
login_audit.c | ||
login_fbtab.c | ||
login.1 | ||
login.access | ||
login.c | ||
login.conf | ||
login.h | ||
Makefile | ||
Makefile.depend | ||
Makefile.depend.options | ||
motd.template | ||
pathnames.h | ||
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$