summaryrefslogtreecommitdiffstats
path: root/libexec/getty
Commit message (Collapse)AuthorAgeFilesLines
...
* Replace a strcat() with a strlcat(). Partial sync with OpenBSD; morekris2001-04-241-1/+1
| | | | | | | work is needed. Submitted by: "Andrew R. Reiter" <arr@watson.org> Obtained from: OpenBSD
* - Backout botched attempt to intoduce MANSECT feature.ru2001-03-261-2/+1
| | | | - MAN[1-9] -> MAN.
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+1
|
* Prepare for mdoc(7)NG.ru2001-01-162-2/+2
|
* Prepare for mdoc(7)NG.ru2000-12-201-4/+4
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-202-2/+2
|
* Check return code from login_tty. Allow getty to try and becomejwd2000-11-191-1/+12
| | | | | | | a daemon and session leader (thus allowing getty to be run from a shell command line or script). Partially Reviewed by: bde
* remove trailing periods from SEE ALSO.ben2000-11-151-1/+1
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-2/+0
|
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebywollman2000-10-101-0/+1
| | | | <time.h>).
* Add 'nc' flag to gettytab -- no carrier. Forces non-blocking open andnsayer2000-07-314-3/+7
| | | | | | | setting of CLOCAL. Necessary for 3 wire RS-232 setups with dumb terminals. PR: 5959
* Changed setflags() to set_flags(). This fixes world breakage due tobde2000-01-283-5/+5
| | | | recently incremented namespace pollution in <unistd.h>.
* Correct the ttys.5 and init.8 manpages with respect to the incorrectsheldonh1999-12-061-1/+11
| | | | | | | | | assumption that only getty processes can be managed. Describe the SysV-like ability to keep arbitrary long-running processes alive using a non-device first field in /etc/ttys. PR: 12767 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* Correct spelling : ascii -> ASCIIphantom1999-09-201-1/+1
| | | | | | PR: docs/13702 Submitted by: Stephen J. Roznowski <sjr@home.com> Reviewed by: mpp
* $Id$ -> $FreeBSD$peter1999-08-2811-11/+11
|
* Ensure that things returned by gethostname() andbrian1999-04-071-2/+3
| | | | | | | | | | friends are terminated and allow for a maximum host name length of MAXHOSTNAMELEN - 1. Put parenthesis around sizeof args. Make some variables static. Fix telnetd -u (broken by my last commit) Prompted by: bde
* Add an 'al' (autologin username) capability to getty/gettytab. This is apeter1999-04-044-7/+27
| | | | | | | | | | damn useful thing for using with serial consoles in clusters etc or secure console locations. Using a custom gettytab entry for console with an entry like 'al=root' means that there is *always* a root login ready on the console. This should replace hacks like those which go with conserver etc. (This is a loaded gun, watch out for those feet!) Submitted by: "Andrew J. Korty" <ajk@purdue.edu>
* Set the CPU resource limit back to infinity before exec()ing PP.brian1999-03-091-1/+4
| | | | PR: 10399
* This thing has its own puts function, so use it.jkh1998-10-081-1/+3
| | | | Submitted by: Matthew Jacob <mjacob@nas.nasa.gov>
* Getty is missing the speed table entry for 230400 baud.phk1998-07-221-2/+3
| | | | | | PR: 7280 Reviewed by: phk Submitted by: Craig Leres <leres@ee.lbl.gov>
* Spelling fixes.phk1998-06-101-2/+2
| | | | | | PR: 6903 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net>
* Clarify use of 'if' capability.steve1998-05-041-5/+6
| | | | | PR: 6499 Submitted by: Doug Barton <Studded@san.rr.com>
* Correct incompletes .Xrs. Remove duplicate #includes and unused variables.charnier1997-11-217-52/+58
|
* Fix botch with escaped characters, go back to using cgetstr().davidn1997-09-031-3/+3
| | | | | | For escaped characters used in modem strings, use double-backslashes in gettytab. PR: 4370
* Use cgetustr() since we handled special escapes ourselves.davidn1997-09-012-5/+5
| | | | | | Fix typo in escape parsing function. PR: 4370 Submitted by: sumii@is.s.u-tokyo.ac.jp
* Turn off hyphenation in this manpage so that .Xr macros, don't getsteve1997-08-231-1/+3
| | | | | | split between lines. PR: bin/4080
* .Nm --> .Xr so that gettytab(5) is shown instead of gettytab 5.steve1997-08-171-2/+2
| | | | PR: bin/4079
* kill the undeadpeter1997-07-131-54/+0
|
* Removed unused variables.alex1997-06-271-4/+1
|
* Reset alarm before invoking ppplogin.davidn1997-06-031-1/+3
| | | | | | | PR: 3733 Reviewed by: Submitted by: kfurge@worldnet.att.net Obtained from:
* login.group => login.conf.davidn1997-06-021-2/+2
| | | | | | | PR: 3748 Reviewed by: Submitted by: Obtained from:
* Fix memory leak caused by not freeing memory returned by cgetstr()davidn1997-05-111-8/+80
| | | | | | | | | | | | calls. The cost is a little more up-front memory allocation, but the effect seems minimal. Problem noticed-by: bde Added syslog at LOG_ERR when referencing an unknown gettytab entry and for other cgetent() failues (circular reference et al). To be merged into 2.2 after a few days testing.
* Remove text about unsupported flags 'mdmbuf', 'local', 'crtscts' etcdavidn1997-04-131-16/+9
| | | | | | that are in reality handled in gettytab. Document the new 'dialin' and 'network' tty flags.
* Revert $FreeBSD$ to $Id$peter1997-02-2211-11/+11
|
* Tidy-up modem-chat handling: ensure tty modes are restored todavidn1997-02-092-49/+45
| | | | | | | | | 'sane' standard (not raw) settings before abort/exiting; move responsibility of setting raw mode for chat-handling out of chat.c to avoid doing redundant tc{s,g}etattr()s; move DE pause prior setting standard mode before issue/login prompt to avoid echoing modem connect strings. Fixed up comment styles in a couple of places.
* Increased username size to allow passing username:auth_method todavidn1997-02-071-1/+1
| | | | login.
* Make username size dependant on MAXLOGNAME in sys/param.h. Wasdavidn1997-02-021-2/+2
| | | | | | previously hard-coded at 16 characters (and possibly overflowing the field when NUL terminating a username of exactly 16 characters in length).
* Added:davidn1997-02-028-54/+852
| | | | | | | | | | | | ic=expect/send script modem init script ac=expect/send script modem answer script ct#val chat script timeout (seconds) rt#val recycle timeout (seconds) if 'ac' set dc#val debug bitmask for debugging chat scripts hw (boolean) enable crtscts handshaking if=path 'issue' file sent prior login prompt chat.c is a simplistic expect/send chat module.
* Fix bug in %s, %m, %r and %v macros not displaying data.davidn1997-02-021-1/+5
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1410-10/+10
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Sort cross references.wosch1997-01-131-4/+4
|
* Added group= facility to /etc/ttys for tty grouping for moredavidn1997-01-021-10/+26
| | | | | | | | more manageable and convenient referencing by login.conf (login class database) and (e.g.) login.access. This is the first of a group of commits which implements the login class capabilities database.
* Add a new 'de' capability, specifying a number of seconds to sleep beforemsmith1996-12-314-5/+15
| | | | | | | | | | | | | emitting the initial prompt. This is useful in a number of circumstances : - you have (a) stupid modem(s) that assert(s) DCD too soon. - you have dialin users with stupid diallers and poorly written chatscripts. (esp. some Winsock diallers) BSD/OS also has this capability. Submitted by: damian@cablenet.net (Damian Hamill)
* Correct some xrefs/mlinks.mpp1996-12-141-5/+5
|
* remove newly added reference to ppploginpst1996-11-131-2/+1
|
* Add the >optional< ability to sense PPP link bringups and call an ↵pst1996-11-134-7/+62
| | | | authentication program
* This should have gone away with the COMPAT_43 cruft. cgetent() is nowbde1996-09-201-339/+0
| | | | used instead of the rudimentary routines here.
* Use the .Bx macro where appropriate.mpp1996-08-231-2/+3
|
* Replace non-POSIX speed setting by POSIX oneache1996-05-071-2/+3
|
* Finally commit the changes that make getty(8) no longer depend on thejoerg1996-05-0510-356/+804
| | | | | | | | | | | | COMPAT_43 cruft. This is supposedly the last core utility that has been using it! (So now, one should be able to remove this option from the config files. Be aware that the last officially released xterm however still requires it.) The getty has been running now for several weeks on my modem line, so i feel safe about it. Obtained from: mostly from the NetBSD vendor-branch
OpenPOWER on IntegriCloud