Commit Graph

25 Commits

Author SHA1 Message Date
imp
945fc2a1a0 More egcs warning fixes:
o main returns int not void
	o use return 0 at end of main when needed
	o use braces to avoid potentially ambiguous else
	o don't default to type int (and also remove a useless register
	  modifier).

Reviewed by: obrien and chuckr
1999-04-25 22:23:38 +00:00
brian
3794629aa4 Ensure that things returned by gethostname() and
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
1999-04-07 08:27:45 +00:00
brian
86a9f98333 Use realhostname() rather than various combinations of
gethostbyaddr() & gethostbyname().

Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length.
1999-04-06 23:06:00 +00:00
joerg
a8b65d01a4 Ignore empty usernames, and repeat the login: prompt in this case.
There's not much point in having uucpd behave differently than
login(1) for this, and now uucpd is compatible to the default chat
script of Taylor UUCP which sends a single \r at first.

While i was at it, added a few strategic ``errno = 0;''s, so at least
an `Undefined error 0' will be returned for things like a closed
connection while reading the login ID or password, as opposed to an
even more bogus thing like `No such file or directory'.
1999-03-30 10:23:35 +00:00
bde
531465c9e6 Fixed printf format errors. 1998-06-30 15:19:51 +00:00
charnier
e07b667488 Sort #includes. Add rcsid. Use full pathname in SYNOPSIS section. 1997-12-04 07:20:45 +00:00
mpp
4b0f10bd77 Ensure that the remote host name is Nul terminated.
Closes PR# 2589.
1997-04-08 20:36:36 +00:00
davidn
6ee97c6923 Fix for expiration date test. Closes PR#3224. 1997-04-08 12:32:17 +00:00
joerg
baa3e2f4c0 Use MAXHOSTNAMELEN, as opposed to an arbitrary number, and ensure
correct termination if it overflows.

Closes PR # misc/2982.

Submitted by:	Drew Derbyshire <ahd@kew.com>
1997-04-01 20:39:59 +00:00
davidn
3b401b9b7d Don't trucate username to 8 characters. 1997-03-25 09:52:38 +00:00
peter
bd20ff9351 Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
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.
1997-01-14 07:20:47 +00:00
wosch
e902881dbf Sort cross references. 1997-01-13 00:25:51 +00:00
wosch
e5b4420bce add forgotten $Id$ 1996-09-22 21:56:57 +00:00
mpp
2370082340 Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
mpp
f10d4c939c Update the uucpd makefile to install the man page. 1996-02-18 21:38:13 +00:00
markm
b5a88abd7d New man page for uucpd. There is precious little info for this thing
available, but I managed to find something in the BSD4.4 uucico(8)
docs.

Closes pr docs/131.
1996-02-18 20:32:30 +00:00
mpp
dd8a8fe3c8 Check for expired passwords before allowing access to the system. 1995-08-28 21:30:59 +00:00
ache
ab794d0e53 Fix wtmp logout
Submitted by: Gil Kloepfer Jr. <gil@limbic.ssdl.com>
1995-03-20 05:58:37 +00:00
ache
ea789b7e79 Remove -u argument, does nothing for non-priviliged user.
Write LOGNAME in addition to USER as sun uucpd does.
1994-11-25 02:27:08 +00:00
ache
0a7c4d0ed4 mass fixes from 1.1.5.1 + better log erros and incorrect logins 1994-11-23 19:33:17 +00:00
ache
d1b2fa0ec8 Fix uucico path
Submitted by:  Gene Stark
1994-11-23 17:48:31 +00:00
guido
1a35f2dbaa Add -DBSD4.2 and -DBSDINETD so uucpd makes sense. Further correct a
warning at compil time.
This actually makes uucpd at tcp port 540 work, so slippers can  poll
over tcp.
Reviewed by:
Submitted by:	guido
1994-08-23 20:13:32 +00:00
csgr
71a5e73982 LDADD= -lcrypt
Submitted by:	Geoff
1994-08-20 21:36:40 +00:00
rgrimes
7d07d2de2f BSD 4.4 Lite Libexec Sources 1994-05-27 12:39:25 +00:00