aboutsummaryrefslogtreecommitdiff
path: root/libexec/rshd
Commit message (Collapse)AuthorAgeFilesLines
* The .Xr utilityPhilippe Charnier2003-06-081-3/+4
| | | | Notes: svn path=/head/; revision=116033
* The .Nm utilityPhilippe Charnier2002-07-061-5/+5
| | | | Notes: svn path=/head/; revision=99500
* Gut out (by default unused) cruft, and tidy up warnings.Mark Murray2002-06-263-170/+22
| | | | Notes: svn path=/head/; revision=98885
* PAMify.Dag-Erling Smørgrav2002-05-081-253/+127
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=96195
* YA patch I forgot to commit last night.Dag-Erling Smørgrav2002-03-061-1/+1
| | | | Notes: svn path=/head/; revision=91749
* o const poison a few prototypes to avoid gcc3 warningsWarner Losh2002-02-071-9/+9
| | | | | | | o s/err/error/ in a couple places to avoid shadowing warnings Notes: svn path=/head/; revision=90335
* o __P removalWarner Losh2002-02-071-26/+19
| | | | | | | | o new style definitions/declarations o declare null_conv static and its arguments __unused Notes: svn path=/head/; revision=90334
* Lock down with WFORMAT?=1, with overrides in the subdirectories whichKris Kennaway2002-02-041-1/+1
| | | | | | | are not yet warning-clean. Tested on i386 and alpha. Notes: svn path=/head/; revision=90164
* Mark a function as __printf0like(). This exposes a warning which requiresKris Kennaway2002-02-041-1/+1
| | | | | | | | | some code changes to fix but should be possible. MFC after: 1 week Notes: svn path=/head/; revision=90161
* Remove whitespace at EOL.Dima Dorfman2001-07-151-7/+7
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79529
* Fix the type of the NULL arg to execl()Brian Somers2001-07-091-1/+1
| | | | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> Notes: svn path=/head/; revision=79452
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).Ruslan Ermilov2001-07-061-1/+1
| | | | Notes: svn path=/head/; revision=79366
* Replacement of the old error() routine with errx(3) was premature.Mark Murray2001-04-291-17/+39
| | | | | | | | | | | | There are protocol issues to deal with. Bring back this routine (renamed to avoid a library conflict in libssh) and overhaul it for more 21st Century style coding. Pointed out by: bde Notes: svn path=/head/; revision=76134
* Grrr. Fix a line that was fatfingered out during the cleanup.Mark Murray2001-04-291-0/+1
| | | | | | | | Submitted by: bde Pointy hat: markm Notes: svn path=/head/; revision=76125
* Cleaner method of making PAMable apps static (in the optional case ofMark Murray2001-04-281-5/+0
| | | | | | | wanting static apps). Notes: svn path=/head/; revision=76106
* Allow static linking.Mark Murray2001-04-281-0/+5
| | | | | | | Asked for by: BDE Notes: svn path=/head/; revision=76095
* Clean up the error handling code a bit. There is no need to "roll ourMark Murray2001-04-281-89/+26
| | | | | | | | own" error() routine when errx() is available. This resolves a conflict when linking statically. Notes: svn path=/head/; revision=76094
* mdoc(7) police: cosmetics.Ruslan Ermilov2001-04-041-4/+5
| | | | Notes: svn path=/head/; revision=75162
* Add full PAM support for account management and sessions.Mark Murray2001-03-273-54/+227
| | | | | | | | | | The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux package's PAM patches to the BSD login.c Submitted by: "David J. MacKenzie" <djm@web.us.uu.net> Notes: svn path=/head/; revision=74874
* - Backout botched attempt to intoduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74814
* Set the default manual section for libexec/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74529
* Fix typo: compatability -> compatibility.Jeroen Ruigrok van der Werven2001-02-061-1/+1
| | | | | | | Compatability is not an existing english word. Notes: svn path=/head/; revision=72093
* Structure the options listing to be more standard.Nik Clayton2001-02-021-16/+21
| | | | | | | | | | | The PR also included documentation for other options, but upon inspection of the source these options aren't used. PR: docs/24149 Submitted by: Jesse Monroy, Jr. <opentrax@email.com> Notes: svn path=/head/; revision=71918
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-3/+1
| | | | Notes: svn path=/head/; revision=71895
* Whitespace-only to sync with -stable.Ruslan Ermilov2000-12-071-2/+0
| | | | Notes: svn path=/head/; revision=69707
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
| | | | Notes: svn path=/head/; revision=68949
* remove trailing periods from SEE ALSO.Ben Smithurst2000-11-151-1/+1
| | | | Notes: svn path=/head/; revision=68756
* Removed broken PAM support from rshd(8) and rlogind(8). rshd doesRuslan Ermilov2000-10-122-28/+1
| | | | | | | | | | not allocate a pty(4) so it is not suitable at all for interactive PAM modules. rlogind calls login(1) which is already PAM enabled. Approved by: markm Notes: svn path=/head/; revision=67001
* Plug the hole where rshd would bypass a proper .rhosts check if theBrian S. Dean2000-07-051-3/+2
| | | | | | | | | password was empty. Reviewed by: Warner Losh <imp@freebsd.org> Notes: svn path=/head/; revision=62643
* Remove dead debug code.Jeroen Ruigrok van der Werven2000-04-291-8/+0
| | | | | | | This also removes a dependency/reference on COMPAT_43. Notes: svn path=/head/; revision=59748
* Use libcrypto instead of libdes.Mark Murray2000-02-241-1/+1
| | | | Notes: svn path=/head/; revision=57453
* sync iruserok() extension API with other BSDsYoshinobu Inoue2000-02-011-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of rcmd related function is need to be updated to support IPv6. Some of them are already updated as standard document. But there is also several de-facto functions and they are not listed in standard documents. They are, iruserok() (used by rlogind, rshd) ruserok() (used by kerberos, etc) KAME package updated those functions in original way. iruserok_af() ruserok_af() But recently there was discussion on IETF IPng mailing list about how to sync those API, and it is decided, -Those function is not standard and not documented. -But let BSDs sync their API as de-facto. And after some discussion, it is announced that -add update to iruserok() as iruserok_sa() -no ruserok() API change(it is only updated internaly) So I sync those API before 4.0 is released. The changes are, -prototype changes -ruserok() internal update (use iruserok_sa() inside) -removal of ruserok_af() -change iruserok_af() as static functioin, and also prefix the name with __. -add iruserok_sa() (Just call __iruserok_af() inside) -adding flag AI_ALL to getipnodebyaddr() called from __icheckhost(). This is necessary to support IPv4 communication via AF_INET6 socket could be correctly authenticated via iruserok_sa() -irusreok_af() call is replaced to iruserok_sa() call in rlogind, and rshd. Approved by: jkh Notes: svn path=/head/; revision=56939
* Fix rshd coredump when AF_INET socket is used.Yoshinobu Inoue2000-01-281-1/+1
| | | | | | | Confirmed by: F. Heinrichmeyer <fritz.heinrichmeyer@fernuni-hagen.de> Notes: svn path=/head/; revision=56758
* several tcp apps IPv6 updateYoshinobu Inoue2000-01-253-24/+64
| | | | | | | | | | | | | | | -inetd -rshd -rlogind -telnetd -rsh -rlogin Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=56590
* . mdoc(7)'fyAlexey Zelkin2000-01-071-4/+12
| | | | | | | | | | | . add Xrs to hosts.equiv(5), auth.conf(5), services(5) to some pages . sort Xrs in SEE ALSO sections Patches based on PR: docs/15680 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de> Notes: svn path=/head/; revision=55562
* Fix for new Kerberos4. Make a fist cut at PAM-ising while I'm here.Mark Murray1999-09-192-153/+66
| | | | Notes: svn path=/head/; revision=51433
* Fix more Common Error brokenness.Mark Murray1999-09-061-2/+2
| | | | Notes: svn path=/head/; revision=51036
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50476
* Ensure that things returned by gethostname() andBrian Somers1999-04-071-6/+5
| | | | | | | | | | | | | 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
* Use realhostname() rather than various combinations ofBrian Somers1999-04-061-42/+14
| | | | | | | | | gethostbyaddr() & gethostbyname(). Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length. Notes: svn path=/head/; revision=45393
* Oops, I missed a few more /etc/nologin references yesterday. It appearsSatoshi Asami1999-01-121-3/+3
| | | | | | | | | my check of the tree was incomplete. Sorry guys. Reported by: Ben Smithurst <ben@scientia.demon.co.uk> Notes: svn path=/head/; revision=42587
* As previously threatened, clean up the rshd -a option and make it defaultPeter Wemm1998-12-162-64/+29
| | | | | | | | | | | | | | | | | | | on rshd and rlogind. However, note that: 1: rshd used to drop a connection with -a if the hostname != ip address. This is unneeded, because iruserok() does it's own checking. It was also wrong if .rhosts had an explicit IP address in it, connections would be dropped from that host solely because the DNS was mismatched even though it was explicitly intended to work by IP address. 2: rlogind and rshd check the hostname mappings by default now because that is what goes into the utmp/wtmp and logs. If the hostname != ip address, then it uses the IP address for logging/utmp/wtmp purposes. There isn't much point logging ficticious hostnames. 3: rshd -a is now accepted (but ignored) for compatability. If you really want to make life miserable for people with bad reverse DNS, use tcpd in paranoid mode (which is questionable anyway, given DNS ttl tweaking). Notes: svn path=/head/; revision=41860
* Fixed long line in previous commit.Bruce Evans1998-12-031-2/+3
| | | | Notes: svn path=/head/; revision=41480
* Added a -D option to turn on TCP_NODELAY.David Greenman1998-12-012-5/+18
| | | | Notes: svn path=/head/; revision=41445
* Add -lcrypt when building kerberos.John Birrell1998-09-051-3/+3
| | | | Notes: svn path=/head/; revision=38827
* Fix LIBDIR (for aout/ELF).Mark Murray1998-08-061-2/+2
| | | | Notes: svn path=/head/; revision=38149
* Replace _exit() with exit()Robert Nordier1998-05-051-2/+2
| | | | | | | Pointed out by: Nathan Torkington <gnat@prometheus.frii.com> PR 5585 Notes: svn path=/head/; revision=35728
* Typo.Philippe Charnier1997-12-181-2/+2
| | | | Notes: svn path=/head/; revision=31837
* No \n in syslog() strings. Add man page to Xrefs. Change null byte to NUL byte.Philippe Charnier1997-12-022-23/+37
| | | | Notes: svn path=/head/; revision=31490