summaryrefslogtreecommitdiff
path: root/usr.bin/rsh/rsh.c
AgeCommit message (Collapse)Author
2007-03-20remove -K from usage();Jason McIntyre
2005-07-04make these use setres[ug]id for simple privilege dropping;Damien Miller
ok deraadt@ millert@ moritz@
2005-04-01move more stuff after revoke; millert okTheo de Raadt
2004-01-17Exec ssh not rlogin or telnet if the user calls us as "rsh host"Todd C. Miller
instead of "rsh host command". requested and OK by deraadt@
2004-01-17Kill kerberos4 code; OK deraadt@Todd C. Miller
2003-08-11Convert to use poll(2) instead of static select.Todd C. Miller
Input from deraadt@ and fgsch@; Ok deraadt@
2003-08-11Cosmetic changes to make the code a tad more readable:Todd C. Miller
o constify rcsid and copyright o use warn/err instead of doing it by hand
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-08Replace strcpy w/ strlcpy(); deraadt@ OKTodd C. Miller
2002-08-12die if FD_SET overruns. (i don't have enough motive to change it to mallocJun-ichiro itojun Hagino
fd_set, rsh should be in graveyard)
2002-07-15ansi and some bug fixesTheo de Raadt
2002-06-12a real pid_t cleanup.Mike Pechkin
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
2002-06-09Sync usage with manpageHans Insulander
2002-05-06rlogin is gone but rsh remains (though its use is discouraged).Todd C. Miller
If someone uses the 'rsh foo' form and there is no rlogin installed, use telnet instead.
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-09-27oopsTheo de Raadt
2001-09-04Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ↵Todd C. Miller
POSIX counterparts.
2000-02-01no need to extern int errno if errno.h is includedTheo de Raadt
2000-01-27enable IPv6 support.Jun-ichiro itojun Hagino
1998-03-25fix a bug, use fd_set for select() and cleanup a bit.Artur Grabowski
1997-08-06save errno in mangly handlersTheo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-06-29new location of des.hNiels Provos
1997-06-23sigblock mask is int, not longTheo de Raadt
1997-03-26calculate width for select() more carefullyTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-22Deal with _POSIX_SAVED_IDS when relinquishing privilegesThorsten Lockert
1996-09-02unset $RSH so we don't loop de loop in rcmd().Todd C. Miller
1996-08-30bail if euid != 0; keeps us from fork-bombing with rcmd that calls rsh(1).Todd C. Miller
1996-08-11Be silent about Kerberos failure if local systel is not configured forThorsten Lockert
Kerberos
1996-07-24normal uid before execvTheo de Raadt
1996-07-22rcsid cleanupTheo de Raadt
1996-06-26rcsidTheo de Raadt
1996-04-17Make encrypted remote shell work again. Note that this is not a supportedThorsten Lockert
configuration, and no port number is defined for it.
1995-12-16Make it possible to build without SKEY supportThorsten Lockert
Add support for building with kerberosIV
1995-10-18initial import of NetBSD treeTheo de Raadt