summaryrefslogtreecommitdiff
path: root/usr.bin/login/login.c
AgeCommit message (Expand)Author
2024-01-12login: Missed an instance of getpwnam().Dag-Erling Smørgrav
2024-01-12login: Use getpwnam_r() instead of getpwnam().Dag-Erling Smørgrav
2023-11-26usr.bin: Automated cleanup of cdefs and other formattingWarner Losh
2023-11-26usr.bin: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2021-07-06usr.bin/login: send errors to console if syslog isn't runningAlex Richardson
2020-12-19login(1): when exporting variables check the result of setenv(3)Pedro F. Giffuni
2020-12-19Revert r368776:Pedro F. Giffuni
2020-12-19login(1): when exporting variables check the result of setenv(3)Pedro F. Giffuni
2017-11-18spdx: initial adoption of licensing ID tags.Pedro F. Giffuni
2015-09-10login.c doesn't really need libutil.h, don't include it.Xin LI
2014-08-17Remove LOG_ODELAY because it does nothing.Neel Natu
2014-04-19login: Remove broken dialup log message.Jilles Tjoelker
2014-01-26login: Clean up PAM and audit, then exit, on SIGHUP and SIGTERM.Jilles Tjoelker
2013-11-13Fix whitespace.Ed Schouten
2011-05-03Call pam_setcred() before login_getpwclass to support home directoriesDoug Rabson
2010-10-20Get rid of hand-rolled closefrom(3).Ed Schouten
2010-09-28Remove copyright strings printed at login time via login(1) or sshd(8).Ed Maste
2010-01-02ANSIfy various tools in usr.bin/.Ed Schouten
2009-12-13Revert most part of 200420 as requested, as more review and polish isXin LI
2009-12-11Remove unneeded header includes from usr.bin/ except contributed code.Xin LI
2009-03-27Don't strip TTY device name to the last '/'.Ed Schouten
2007-07-04Significantly reduce the memory leak as noted in BUGS section forSean Farley
2007-05-01Back out all POSIXified *env() changes.Andrey A. Chernov
2007-04-30Slightly tune previous fix: free memory if !exportAndrey A. Chernov
2007-04-30Prepare for upcoming POSIXed putenv() rewrite:Andrey A. Chernov
2006-12-13Teach login(1) about the make.conf NO_AUDIT variable. This allows us toChristian S.J. Peron
2006-03-28Don't call audit_logout() if pwd is NULL, as audit_logout() attempts toOlivier Houchard
2006-02-04Make login audit-enabled, submitting audit records for the login and logoutWayne Salamon
2005-06-01o Teach login(1) to respect "hushlogin" and "nocheckmail" attributesMaxim Konovalov
2004-01-26Fix ~/.hushlogin handling.Max Khon
2003-04-26When the tty chown() fails, report a chown() failure rather than aRobert Watson
2003-04-25The documented login.conf variable for setting the login prompt isDag-Erling Smørgrav
2003-02-15Back out previous commit, I wasn't thinking clearly.Dag-Erling Smørgrav
2003-02-15Set PAM_RHOST to "localhost" if no remote host was specified. This allowsDag-Erling Smørgrav
2003-02-08Use waitpid() instead of wait() since we know the pid of the process weDag-Erling Smørgrav
2002-12-04Change the process title as soon as possible to mask information passed onDag-Erling Smørgrav
2002-10-15Be consistent about functions being static.Poul-Henning Kamp
2002-08-19When login tries to do the chmod/chflags on a read only file system,Warner Losh
2002-07-28Don't reuse a const char * when we really want a char *.David Malone
2002-06-28Simplify TERM handling since now libutil not overwrites existen TERM for "term"Andrey A. Chernov
2002-06-28Overwrite "term" from login.conf(5) for any known TERMAndrey A. Chernov
2002-05-28Drive-by whitespace cleanup.Dag-Erling Smørgrav
2002-04-22Don't use PAM_SILENT unless hushlogin is set (perforce change 10123)Dag-Erling Smørgrav
2002-04-16Remove unused #define.Dag-Erling Smørgrav
2002-04-08Align for const poisoning in -lutil.Ruslan Ermilov
2002-03-12Simple fix so the 'LOGIN FAILURE' message send to syslog will includeGarance A Drosehn
2002-03-05Switch to OpenPAM. Bump library version. Modules are now versioned, soDag-Erling Smørgrav
2002-01-30Still with asbestos longjohns on, completely PAMify login(1) and removeDag-Erling Smørgrav
2002-01-29Back out rev 1.78, which is incorrect now that the PAM modules have beenDag-Erling Smørgrav