aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* According to Bruce, err(-1,..) is bogus. Change it to err(1,..). More commitsPhilippe Charnier1997-10-011-6/+6
| | | | | | | to come in this area. Notes: svn path=/head/; revision=30028
* Use err(3) instead of local redefinition.Philippe Charnier1997-10-018-114/+125
| | | | Notes: svn path=/head/; revision=30027
* Use err(3). -Wall cleaning.Philippe Charnier1997-10-012-15/+15
| | | | Notes: svn path=/head/; revision=30026
* Keep fingers off /etc files until they're properly backed up.Jordan K. Hubbard1997-10-011-16/+16
| | | | | | | | PR: 4636 Submitted by: Jack <jack@zeus.xtalwind.net> Notes: svn path=/head/; revision=30018
* Use err(3). Add usage(). Rewrote man pages in mdoc format.Philippe Charnier1997-09-309-592/+551
| | | | Notes: svn path=/head/; revision=29993
* If "set mtu" is used, *and* the mtu is less than theBrian Somers1997-09-291-4/+7
| | | | | | | | | value requested by the peer, NAK using this value rather than silently just changing the interface mtu. Notes: svn path=/head/; revision=29990
* Sort cross refereces in section SEE ALSO.Wolfram Schneider1997-09-299-23/+24
| | | | Notes: svn path=/head/; revision=29988
* Correct the description of the output from the "-s" option. It wasJohn Polstra1997-09-291-2/+2
| | | | | | | backward. Notes: svn path=/head/; revision=29985
* Endless loop.Wolfram Schneider1997-09-291-5/+5
| | | | | | | | | | | | | | $ vipw [corrupt a line in editor, exit editor] pwd_mkdb: corrupted entry pwd_mkdb: at line #2 pwd_mkdb: /etc/pw.012585: Inappropriate file type or format re-edit the password file? [y]: n^D^D [hang] Notes: svn path=/head/; revision=29980
* Use err(3).Philippe Charnier1997-09-292-36/+31
| | | | Notes: svn path=/head/; revision=29963
* Add ftp4.uk.freebsd.orgJordan K. Hubbard1997-09-292-2/+6
| | | | Notes: svn path=/head/; revision=29954
* Test for the existence of ../../secure ratherBrian Somers1997-09-281-2/+2
| | | | | | | | | | than /usr/include/des.h before building with MSChap. support. Also allow -DNOCRYPT (as well as -DNOSECURE) as an override sbin/init example pointed out by: bde Notes: svn path=/head/; revision=29947
* Add (commented out) macros to make compiling with tcpwrappers easier.Mark Murray1997-09-281-1/+8
| | | | Notes: svn path=/head/; revision=29932
* Don't depend on time.h including sys/types.hBrian Somers1997-09-271-1/+2
| | | | Notes: svn path=/head/; revision=29899
* Don't login twice when using passwdauthBrian Somers1997-09-274-130/+13
| | | | | | | | Suggested by: Peter Childs <pjchilds@imforei.apana.org.au> Merge the whole module into a few lines in pap.c Notes: svn path=/head/; revision=29895
* Document pkg_add's dependency auto-install. While I'm here, fixTim Vanderhoek1997-09-273-15/+19
| | | | | | | | | | | | a couple typos, and consistent double-spacing after sentences. This is actually a spinoff from the "ports-current discontinued" blow-up some time ago. Ack'd by: jkh Notes: svn path=/head/; revision=29889
* #define RECON_ENVOKED as 4 (not 3, like RECON_UNKNOWN)Brian Somers1997-09-261-2/+2
| | | | | | | Pointed out by: tom@tomqnx.com (Tom Torrance at home) Notes: svn path=/head/; revision=29862
* Use err(3). Add missing parameter for printf() (reviewed by steve).Philippe Charnier1997-09-252-64/+47
| | | | Notes: svn path=/head/; revision=29850
* Remove unused variables. Lowercase err() strings.Philippe Charnier1997-09-252-43/+29
| | | | Notes: svn path=/head/; revision=29849
* Put includes in alphabetical order. Use fprintf() in usage().Philippe Charnier1997-09-251-10/+13
| | | | Notes: svn path=/head/; revision=29848
* Stylistic changes in man page.Philippe Charnier1997-09-252-19/+12
| | | | Notes: svn path=/head/; revision=29847
* Use err(3).Philippe Charnier1997-09-252-34/+35
| | | | Notes: svn path=/head/; revision=29846
* Do the MSChap encryption.Brian Somers1997-09-252-0/+142
| | | | | | | Submitted by: Gabor Kincses <gabor@acm.org> Notes: svn path=/head/; revision=29841
* Allow Microsoft CHAP authentication.Brian Somers1997-09-259-61/+145
| | | | | | | | This is a combination of MD4 & DES. Submitted by: Gabor Kincses <gabor@acm.org> Notes: svn path=/head/; revision=29840
* Use err(3). Add usage(). Various fixes in man pages.Philippe Charnier1997-09-2417-101/+126
| | | | Notes: svn path=/head/; revision=29780
* Statisize usage(). Add return(0) for -wall.Philippe Charnier1997-09-244-6/+15
| | | | Notes: svn path=/head/; revision=29778
* Compact usage string, devices list can be too longAndrey A. Chernov1997-09-231-2/+2
| | | | Notes: svn path=/head/; revision=29753
* Don't luse uu_lock in -direct mode. It conflicts w/Brian Somers1997-09-231-4/+5
| | | | | | | | | hylafax & the like. Get the CD bit right at last - now that I've got my second modem back - loss of carrier makes ppp exit. Notes: svn path=/head/; revision=29750
* Undo botched commit (local changes got in)Brian Somers1997-09-231-4/+3
| | | | Notes: svn path=/head/; revision=29744
* - Bump up the size of the space for strings read from PCMCIA cards. NewerNate Williams1997-09-231-2/+2
| | | | | | | | | cards have longer entries. Submitted by: Lars Fredriksen <lars@fredriks-1.pr.mcs.net> Notes: svn path=/head/; revision=29743
* Use err(3). Add usage() and prototypes.Philippe Charnier1997-09-232-108/+75
| | | | Notes: svn path=/head/; revision=29736
* Use err(3). Put includes in alphabetical order.Philippe Charnier1997-09-235-132/+113
| | | | | | | | Rewrote man page in mdoc format. Document -v and -p flags. Notes: svn path=/head/; revision=29735
* Use err(3). Make it -Wall friendly. Typo fix in man page.Philippe Charnier1997-09-232-53/+46
| | | | Notes: svn path=/head/; revision=29734
* Don't allow accept/deny when it's not appropriate.Brian Somers1997-09-228-57/+155
| | | | | | | | Log PAP/CHAP users in utmp & wtmp, allowing it to be avoided with "disable utmp" Notes: svn path=/head/; revision=29729
* Typo fix.Masafumi Max NAKANE1997-09-221-5/+5
| | | | | | | | PR: 4594 Submitted by: Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp> Notes: svn path=/head/; revision=29711
* If we're going to blindly install freebsd.cf from the etc-sendmail.cfJordan K. Hubbard1997-09-221-1/+1
| | | | | | | rule then we'd better depend on it. Notes: svn path=/head/; revision=29709
* Use err(3). Put includes in alphabetical order. Use .An macro.Philippe Charnier1997-09-222-12/+15
| | | | Notes: svn path=/head/; revision=29707
* Don't pause for one second before starting LCPBrian Somers1997-09-221-4/+12
| | | | | | | | | | | | | | negotiation. Instead, incrementally pause after receiving LCPs with the same magic. We can now suffer a server that waits more than 1 second before responding. Pauses greater than a second get hopelessly confusing as when the server eventually starts, it sees a flood of Config Requests followed by config NAKs and changes of magic. This causes the server to change its magic over and over..... Notes: svn path=/head/; revision=29700
* Use the correct device name in "show modem"Brian Somers1997-09-221-8/+2
| | | | Notes: svn path=/head/; revision=29698
* Correct the way the uucp lock file and the ttyXX.if lockBrian Somers1997-09-224-61/+108
| | | | | | | | | | file get created. We don't create lock files over non-tty connections, but we *do* create lock files in -direct mode. This leaves us capable of adding utmp/wtmp support for successful pap & chap logins (coming soon). Notes: svn path=/head/; revision=29696
* Sleep for a second before sending the first LCPBrian Somers1997-09-211-1/+3
| | | | | | | | | | config request. This stops us from squirting stuff down a line that still has ECHO turned on because the peer hasn't had a chance to start yet. Lead to the cause by: Greg Lehey <grog@lemis.com> Notes: svn path=/head/; revision=29692
* Add isa_devtab_cam.Justin T. Gibbs1997-09-214-2/+8
| | | | Notes: svn path=/head/; revision=29687
* It turns out that the following:Brian Somers1997-09-212-17/+5
| | | | | | | | | | | | | | | close(1); close(2); x = open(ctermid(NULL), O_RDWR|O_NONBLOCK); close(0) on a tty causes select() to return an exception for descriptor x ! This is the case in RELENG_2_2, but not in 2.2.2. I'm not sure why. Instead of doing the x=open() and close(0), we just do x=0 now. Problem pointed out by: Greg Lehey <grog@lemis.com> Tomi Vainio <tomppa@fidata.fi> Notes: svn path=/head/; revision=29668
* Typo policeBrian Somers1997-09-212-6/+6
| | | | | | | Submitted by: Mark Cammidge <mark@gmtunx.ee.uct.ac.za> Notes: svn path=/head/; revision=29660
* Add a pppctl(8) xref.Brian Somers1997-09-212-4/+6
| | | | | | | Suggested by: joerg Notes: svn path=/head/; revision=29659
* Add ypwhich(1) and yppoll(8) manual pages.Wolfram Schneider1997-09-212-2/+84
| | | | | | | Obtained from: NetBSD, slightly modified Notes: svn path=/head/; revision=29658
* Chown(8) compiled with -DSUPPORT_DOT (backward compatibility) doesWolfram Schneider1997-09-211-6/+6
| | | | | | | | | | | | | first check for a `.' and then for `:' as a delimiter. Usernames with a dot will fail. # chown r.r:bin /tmp/bla chown: r:bin: illegal group name Fix: first check for a `:' and then for a `.' Notes: svn path=/head/; revision=29656
* Do not complain about non existing shell "/nonexistent"Wolfram Schneider1997-09-201-3/+6
| | | | | | | | | Smarter error check if a uid is already in use. Submitted by: "Eugene Radchenko" <genie@qsar.chem.msu.su> Notes: svn path=/head/; revision=29645
* Do not accept empty user names.Wolfram Schneider1997-09-201-2/+2
| | | | Notes: svn path=/head/; revision=29644
* More label editor enhancements.Jordan K. Hubbard1997-09-202-100/+92
| | | | | | | Submitted by: Ed Gold <vegold01@starbase.spd.louisville.edu> Notes: svn path=/head/; revision=29633