aboutsummaryrefslogtreecommitdiff
path: root/libexec/rshd
Commit message (Collapse)AuthorAgeFilesLines
* Spell SHUT_RDWR as SHUT_RDWR not 1+1 as the how argument to shutdown(2).Juli Mallett2005-05-111-2/+2
| | | | Notes: svn path=/head/; revision=146074
* Use sysconf(_SC_ARG_MAX) instead of NCARGS.David Schultz2005-03-211-2/+7
| | | | Notes: svn path=/head/; revision=143907
* Fix most cases where the address of an int is passed to a function expecting aStefan Farfeleder2005-02-141-2/+3
| | | | | | | socklen_t * argument. Notes: svn path=/head/; revision=141918
* Expand *n't contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141846
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-092-6/+4
| | | | Notes: svn path=/head/; revision=141589
* Let bsd.prog.mk set SRCS and MAN to their default values.Ruslan Ermilov2005-01-281-1/+0
| | | | Notes: svn path=/head/; revision=140941
* Sort sections.Ruslan Ermilov2005-01-181-19/+19
| | | | Notes: svn path=/head/; revision=140414
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-11/+22
| | | | Notes: svn path=/head/; revision=131487
* Markup fixes.Ruslan Ermilov2004-05-161-8/+11
| | | | Notes: svn path=/head/; revision=129307
* Cast the terminating NULL to char * in the execl() call.Maxime Henrion2004-04-041-1/+1
| | | | | | | Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Notes: svn path=/head/; revision=127864
* Removed duplicate -lutil.Ruslan Ermilov2004-02-021-5/+2
| | | | Notes: svn path=/head/; revision=125337
* Document what the PAM believers failed to do (and should have),David E. O'Brien2003-12-171-0/+9
| | | | | | | which is how to rsh as root into a machine. Notes: svn path=/head/; revision=123616
* 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