summaryrefslogtreecommitdiff
path: root/libexec/rexecd
Commit message (Collapse)AuthorAgeFilesLines
* MFC: 1.11Nick Sayer2000-06-301-2/+7
| | | | Notes: svn path=/stable/4/; revision=62292
* MFC: 1.19Nick Sayer2000-06-301-1/+6
| | | | Notes: svn path=/stable/4/; revision=62291
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50476
* Ensure that things returned by gethostname() andBrian Somers1999-04-071-3/+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 Notes: svn path=/head/; revision=45422
* Link with libutilBrian Somers1999-04-061-3/+3
| | | | Notes: svn path=/head/; revision=45396
* Use realhostname() rather than various combinations ofBrian Somers1999-04-061-6/+4
| | | | | | | | | gethostbyaddr() & gethostbyname(). Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length. Notes: svn path=/head/; revision=45393
* Use err(3). -Wall cleaning. Use Pa for file names and add section in Xrefs.Philippe Charnier1997-11-262-23/+29
| | | | Notes: svn path=/head/; revision=31419
* Julian A's fix. Do chdir as user rather than as root. Fixes a minor NFSWarner Losh1997-03-241-8/+8
| | | | | | | | | | | | compatibility problem at the same time. Some buffer made large enough for worst case hostname. fixes PR 2593. Reviewed by: Dan Cross and maybe others Notes: svn path=/head/; revision=24189
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=22989
* Buffer Overflow from OpenBSDWarner Losh1997-02-091-1/+1
| | | | | | | | | rev 1.7 deraadt: buf oflow Obtained from: OpenBSD Notes: svn path=/head/; revision=22457
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-143-3/+3
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Back out recent security patch for rexecd. After more careful analysis,Paul Traina1996-11-222-28/+15
| | | | | | | | | | | | | it is both uneeded and breaks certain lock-step timing in the rexec protocol. Yes, an attacker can "relay" connections using this trick, but a properly configured firewall that would make this sort of subterfuge necessary in the first place (instead of direct packet spoofing) would also thwart useful attacks based on this. Notes: svn path=/head/; revision=19924
* Do not attempt to open reverse channel until authentication phase hasPaul Traina1996-11-192-17/+30
| | | | | | | | | | | | | | | succeeded. Never allow the reverse channel to be to a privileged port. Cannidate for: 2.1 and 2.2 branches Reviewed by: pst (with local cleanups) Submitted by: Cy Shubert <cy@cwsys.cwent.com> Obtained from: Jaeger <jaeger@dhp.com> via BUGTRAQ Notes: svn path=/head/; revision=19871
* add forgotten $Id$Wolfram Schneider1996-09-223-0/+4
| | | | Notes: svn path=/head/; revision=18471
* Check for expired passwords before allowing access to the system.Mike Pritchard1995-08-281-1/+2
| | | | Notes: svn path=/head/; revision=10401
* rexecd was not calling "setlogin()" when it should have. This was causingPeter Wemm1995-07-291-0/+2
| | | | | | | | | getlogin() to return wrong answers (eg: "root"). Reviewed by: davidg Obtained from: James Jegers, for NetBSD, slightly reworked by me. Notes: svn path=/head/; revision=9765
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-1/+1
| | | | Notes: svn path=/head/; revision=8870
* Don't rely on the shared library bringing in libmd, do it explicitly.Nate Williams1995-03-181-2/+2
| | | | | | | | | | Change the library order so libcrypt is the last library in the list. libskey contains references to _crypt and can't resolve it unless -lcrypt occurs after it in the link command. This only occurs when linking statically. Notes: svn path=/head/; revision=7128
* make rexecd link against skeyaccess, not authfilePaul Traina1994-09-301-2/+2
| | | | Notes: svn path=/head/; revision=3234
* Tighen up rexecd(8) security (see manual page for details).Paul Traina1994-09-292-16/+58
| | | | | | | | | | Rexecd is a crock, it never should have been written, however make it so that people who have a need to run it don't hurt themselves so badly. Obtained from: Ideas obtained from logdaemon 4.3 from Wietse Venema Notes: svn path=/head/; revision=3191
* Add skey supportGuido van Rooij1994-08-212-2/+13
| | | | | | | | Reviewed by: Submitted by: guido Notes: svn path=/head/; revision=2195
* LDADD= -lcryptGeoff Rehmet1994-08-201-0/+3
| | | | | | | Submitted by: Geoff Notes: svn path=/head/; revision=2158
* Update to new make macros and disable Kerberos because we haven't got itGarrett Wollman1994-08-051-1/+1
| | | | | | | set up right yet. Notes: svn path=/head/; revision=1875
* BSD 4.4 Lite Libexec SourcesRodney W. Grimes1994-05-273-0/+413
Notes: svn path=/vendor/CSRG/dist/; revision=1592