6196 Commits

Author SHA1 Message Date
wpaul
12d39161b8 Obtained from: The NYS project
This is a ported/modified version of yppasswd from the NYS yppasswd-0.5
package. This package has code in it from both Olaf Kirch and Theo
de Raadt. There are GPL references and BSD-style copyright all over the
place... hopefully I won't get flamed into oblivion for commiting this.

This program has been modified from the original in the following ways:

- Changed the ALLOW_CHFN and ALLOW_CHSH compile-time options into
  run-time options.

- Demolished the password update functions and replaced them with
  routines to handle FreeBSD-style passwordd databases. It is expected
  that a seperate master.passwd file will be maintained for use with
  the NIS maps. yppasswd will have to be told where it is:

  % yppasswdd -m /var/yp/master.passwd

  A /var/yp/passwd file will be generated from /var/yp/master.passwd by
  /var/yp/Makefile. When yppasswdd has finished modifying the master.passwd
  file, it will invoke /usr/libexec/yppwupdate, which is a script that
  will run /var/yp/Makefile to generate new maps and push them.

Note that there are copies if pw_util.c and pw_copy.c here. This is
deliberate: they are *not* identical to the originals. Very similar, yes,
but not identical. *sigh*
1995-01-31 09:12:52 +00:00
wpaul
c46e35fcb4 Obtained from: The NYS project
This is a hacked-up port of the ypserv-0.11 server from the NYS project
written by Peter Eriksson.

The original package included some map creating and dumping tools and
was based on GDBM. This version has been modified in the following
ways:

- GDBM replaced with DB and many weird hacks made to the read_database()
  function because of this.

- implimented the ypxfr service (using ypxfr from the yps-0.21 package,
  aso from the NYS project)

- added code to check the TCP port from which NIS requests originate:
  the server will refuse to serve the master.passwd.{byname|byuid} maps
  if the request doesn't come from a privileged port. Normally, only the
  superuser can issue such a request. Requests for the passwd.{bynam|byuid}
  maps aren't affected. There will be a small change made to getpwent.c
  in libc to complement this.

- added code to do DNS lookups via actual resolver queries instead of
  relying on gethostbyname() and friends. The author noted in the original
  documentation that a loop condition could arise where the server would
  query itself for hostsname lookups. Using direct DNS lookups prevents
  this from happening.

- added code to properly fork() the server into the background unless
  invoked with the -debug flag.

- Added combined syslog/perror function.

- fixed a few bugs (which were probably introduced by all the other
  changes)

- Created a bmake Makefile.

Note that this package can be linked against the tcp_wrapper package
to provide address-based authentication, but this isn't done by default
since the tcp_wrapper package isn't part of FreeBSD.
1995-01-31 08:58:57 +00:00
wpaul
17c13efe1c Obtained from: The NYS project
This program is used for both generating and dumping NIS maps. It's very
similar to the 'makedbm' command in SunOS. This program was ported from
the yps-0.21 package. It's close to the original except for the GDBM to
DB conversions. This was simple compared to the other YP components.
1995-01-31 08:43:07 +00:00
wpaul
005b0f04d8 Obtained from: The NYS project
This is the first round of changes to incorporate YP server functionality
into FreeBSD. This particular change allows passwd to change either the
local or NIS password, as well as the NIS GECOS and shell information.

Essentially, I've taken passwd(1) and yppasswd from the yppasswd-0.5
distribution (which is part of the NYS project -- a project to provide
a GNU GPL'ed suite of NIS tools) and rammed them into each other
at high speed. I've tried my best to make this co-exist with the
Kerberos stuff, but since I don't run Kerberos I don't have an easy
way to verify that it all works. If you choose any Kerberos flags
then the YP checks should be bypassed, but that may not be enough.
I'll modify it some more if it turns out I broke something. For now,
support for localand NIS passwords is pretty solid:

- If you simply type 'passwd,' the program checks to see if you exist
  in the local pwd.db database. If not, you get bounced to YP.

- If you try to force local functionality with the -l flag and you
  don't exist locally, you get an error.

The -y flag can be used to force YP functionality. -f and -s let you
change your full name and shell (respectively). -f *and* -s let you
change all of your 'account information.'

ypchfn, ypchsh, yppasswd and ypchpass are all links to passwd.
1995-01-31 08:34:16 +00:00
amurai
c2417479c7 Adding "ppp" entry for a user process PPP (aka iijppp) 1995-01-31 07:57:09 +00:00
dg
ca16906a63 Rewrote rlist_free(). The previous code was a good example of how to
write software wrong. rlist_alloc() needs a rewrite, too, but this will
have to wait.
1995-01-31 06:48:53 +00:00
amurai
d3834970da Add Tunnel devcie for ppp (iijppp) 1995-01-31 06:34:53 +00:00
amurai
ac12d39d2e Add Tunnel device for ppp (iijppp) 1995-01-31 06:33:58 +00:00
amurai
16c7cb588b Add tunnel device for ppp(iijppp) 1995-01-31 06:33:02 +00:00
amurai
f8a63aa3da This commit was generated by cvs2svn to compensate for changes in r6059,
which included commits to RCS files with non-trunk default branches.
1995-01-31 06:29:58 +00:00
amurai
d1e35feace 1995-01-31 06:29:58 +00:00
amurai
21ef2761fd 1995-01-31 06:29:58 +00:00
amurai
e71c24a676 This commit was generated by cvs2svn to compensate for changes in r6056,
which included commits to RCS files with non-trunk default branches.
1995-01-31 06:24:33 +00:00
amurai
0487956fcf Reviewed by: 1995-01-31 06:24:33 +00:00
amurai
f3484727e8 This commit was generated by cvs2svn to compensate for changes in r6053,
which included commits to RCS files with non-trunk default branches.
1995-01-31 06:15:49 +00:00
amurai
74b5a342fd 1995-01-31 06:15:49 +00:00
jkh
f7294b77fd Fixed up the text a bit, attribute NetBSD properly. 1995-01-31 04:36:48 +00:00
phk
bb768f1b38 $Id: -> $Id$ 1995-01-31 04:33:41 +00:00
jkh
0144326926 Add sweden to list of install sites. 1995-01-30 22:52:50 +00:00
jkh
a86f9e0ecf Unify the copyright notice. 1995-01-30 22:21:29 +00:00
jkh
a68d06836f Add our new Swedish mirror site. 1995-01-30 21:58:39 +00:00
sos
97c71acd6f Added 80x30 & 80x60 experimental modes officially. 1995-01-30 21:44:07 +00:00
sos
56d38939c8 Added h option for setting the historysize.
fixed problem with Both n&C flags.
1995-01-30 21:41:14 +00:00
sos
0f1b7640b7 Minor fixes to syscons. Blink cursor fixed. History buffer fixed.
kbdtables updated with boot option for CTL+ALT+DEL
1995-01-30 21:39:18 +00:00
sos
005d97125e Reviewed by:
Submitted by:
Obtained from:
1995-01-30 21:36:32 +00:00
dfr
e6dda6d3d5 Add support for kerberised NQNFS.
Reviewed by:
Submitted by:
Obtained from:
1995-01-30 19:18:11 +00:00
dfr
4ae95525d6 Add support for kerberised NQNFS. 1995-01-30 18:56:06 +00:00
asami
27a6b3e94f Cleanup.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-30 17:49:19 +00:00
ache
b326f90c97 Fix owner/mode for installed data 1995-01-30 15:34:06 +00:00
ache
d4a8c7af3a Remove creating dirs & symlinks, it is done by mtree now 1995-01-30 15:29:47 +00:00
ache
6b3aa529f2 Create necessary symlinks for locale dirs 1995-01-30 15:20:53 +00:00
ache
e4eb694f82 Describe default MAXCONS value: 12 1995-01-30 14:40:06 +00:00
ugen
bc961f8cc6 Add ipfw to /lkm Makefile..uups.. 1995-01-30 14:21:46 +00:00
ache
6a9b44b167 Add more range/argument checking
Submitted by: charnier@lirmm.fr
1995-01-30 14:11:58 +00:00
dfr
48859413cd Discard any messages which are buffered on the routing socket before using
it otherwise the response to one of our routing messages could be lost due
to buffer overflow.
1995-01-30 11:11:43 +00:00
jkh
426a9a3688 Make fetch a bit more forgiving of subdirs. 1995-01-30 10:06:56 +00:00
jkh
c4cad71414 Add LN_FLAGS to all the places it makes sense. 1995-01-30 07:22:02 +00:00
jkh
17c91c62b7 Add new LN_FLAGS variable for making LINKS symbolic and whatnot. 1995-01-30 07:20:01 +00:00
jkh
09fc19f47b Make a link to /etc for termcap file. /etc/termcap is just too lodged in
folklore to do without! :-)
1995-01-30 07:19:02 +00:00
jkh
602e297dab Make jkhdist also update the tree. 1995-01-30 07:01:56 +00:00
ache
a552f67c14 Use double speed read for FX001D, now this drive
becomes two times faster than in old variant.
Get rid of false "media changed" errors during large disk transfers
1995-01-30 06:44:40 +00:00
bde
6d392fd2e2 Increase the reserved clist space for the raw queue from 512 to TTYHOG.
This might help avoid tty buffer overflows on loaded systems.
1995-01-30 06:16:59 +00:00
phk
a9cb5cddf7 Warning: vn doesn't work just now. I havn't found out why. This commit
just removes a couple of unused functions.
1995-01-30 05:31:04 +00:00
phk
b3ad30810f Fix the include path to scdreg.h. 1995-01-30 05:29:03 +00:00
phk
096bb8f57d The new kernel for boot.flp. In general:
BOOTFLP = GENERIC - networking
1995-01-30 03:23:57 +00:00
phk
48cc387009 1.44 floppies considered evil now. Real kernel on cpio.flp.
added explicit "OK" file.
Nuked vn support, doesn't work second time around :-(
1995-01-30 03:22:24 +00:00
phk
5da6d72e0b Move the real kernel onto the cpio.flp and read this from the boot.flp
make debug handling with serial console obnoxious, but present.
1995-01-30 03:19:58 +00:00
paul
de932de1a9 Update the parser to handle the color specifications and new attr
options.
1995-01-30 02:43:28 +00:00
paul
98c415953e Add all the necessary bits to use color if the terminal allows it.
You can now specify separate attributes for selected/not selected
cases individually for each field and also an attr for the form as
a whole so you can now have colored backgrounds for the form and
different coloured fields etc.

Update the example.

Change the copyright to a BSD style one.
1995-01-30 02:41:29 +00:00
jkh
f5db704703 Try one theory about why the domain name isn't being default right now. 1995-01-30 02:13:05 +00:00