388 Commits

Author SHA1 Message Date
wpaul
856e9ec0e9 cleaned up and modified slightly to reflect changes 1995-02-01 23:47:04 +00:00
wpaul
e2d7ebccd1 Cleaned up Makefile a little, added man page links from ypchsh.1 ypchfn.1
and ypchpass.1 to yppasswd.1. Also fixed a typo: ypshfn != ypchfn.
1995-02-01 23:46:20 +00:00
wpaul
ca503e6391 Changed passwd/yppasswd's Makefile to create all symbolic links instead
of hard links: since passwd is installed immutable, an attempt to make
a hard link to it during a 'make install' would fail. I didn't notice
this conflict because my /usr directory is an NFS filesystem mounted from a
SunOS server, so the special file mode flags had no effecti when I tested
everything on my machine. Live and learn.
1995-02-01 05:55:18 +00:00
paul
41f11011a1 Fix calculation of default field heights and a bug in the setting
of form dimensions.
1995-02-01 04:08:19 +00:00
paul
0f25422ca8 Clean up the parser, allow fields to be specified inline and
generally make the forms language much less verbose.

Add height option for fields and calculate sensible defaults.
1995-02-01 03:22:17 +00:00
bde
410788f921 Fix off by one error in calculation of `mday' (months start at 1).
Jan 31 gave Jan 30, often for next year.
1995-01-31 17:54:39 +00:00
jkh
0c3392596f Add dmenu. 1995-01-31 13:53:44 +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
jkh
a86f9e0ecf Unify the copyright notice. 1995-01-30 22:21:29 +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
paul
de932de1a9 Update the parser to handle the color specifications and new attr
options.
1995-01-30 02:43:28 +00:00
phk
8da1f09e8e add file2c 1995-01-29 00:51:38 +00:00
phk
44d9c7e9b3 This is a small little program used to execute a bad practice a clean way :-)
It will read a file on stdin and write it as decimal integers on stdout,
this is useful for embedding files in c-sources.

There are a few places where this is needed, and this is a better way than
the current practice of hand-editing the sources.

The command:

date | file2c 'const char date[] = {' ',0};'

will produce:

const char date[] = {
83,97,116,32,74,97,110,32,50,56,32,49,54,58,52,55,58,51,51,32,80,83,84,
32,49,57,57,53,10
,0};

The manual page is 2 lines longer than the source :-)
1995-01-29 00:49:57 +00:00
asami
afd6259b60 Add a -s' flag for silent' processing. Make the script return 0 for
success and 1 for failure.  Describe the options in manpage.
1995-01-28 17:35:56 +00:00
jkh
36ea0db5c6 Put in a much less bogus Makefile on advice from Bruce. 1995-01-28 06:01:18 +00:00
dg
7f0d63876d Fixed coredump when issuing d$ on a blank line. Fixes bin/191. 1995-01-28 01:58:14 +00:00
jkh
17c2207d91 Use the better perl script version of which submitted by Wolfram.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-26 21:49:54 +00:00
ache
6dfc1cf81e LIBFORMS added to DPADD 1995-01-25 20:29:32 +00:00
ache
1fc619b8ea LIBS changed to DPADD & LDADD 1995-01-25 20:28:39 +00:00
jkh
7ca0586653 Add which. 1995-01-25 19:19:06 +00:00
jkh
4a942b9666 This commit was generated by cvs2svn to compensate for changes in r5887,
which included commits to RCS files with non-trunk default branches.
1995-01-25 19:18:33 +00:00
jkh
00f6b2130e Bring in Joerg's which command. It's small, it's simple, it will stop
people (like me! :) from whining!
Submitted by:	joerg
1995-01-25 19:18:33 +00:00
paul
3b2b35819c More parser fixes. Store attributes properly for each field and
don't emit a second declaration unless it's different to the default.
1995-01-25 07:56:10 +00:00
paul
7f29893b63 Quash another bug where if no link alias is specified a
duplicate declaration was emitted.
1995-01-25 07:10:53 +00:00
paul
cd6576a65d Correct default calculation of menu field widths. 1995-01-25 06:32:40 +00:00
paul
44a98931df Fix a serious bug where changes to a field changed all fields
in the forms that used the same field declaration.
1995-01-25 06:04:02 +00:00
paul
62f02f0120 Improve the forms language quite a bit. Most things now
default to sensible values so you don't have to spell out
every little detail for every field. Also, auto-detect
the field type from the syntax.
1995-01-25 03:27:34 +00:00
ache
c74d514565 Merge. 1995-01-24 00:41:11 +00:00
ache
747a6d170b This commit was generated by cvs2svn to compensate for changes in r5825,
which included commits to RCS files with non-trunk default branches.
1995-01-24 00:37:11 +00:00
ache
91f1983c7d Upgrade. My recent fix applied by author. 1995-01-24 00:37:11 +00:00
jkh
2dab142d47 Bring in a number of changes from NetBSD's make, fixing quite a few
problems in the process:

1. Quoting should work properly now.  In particular, Chet's reported bash
   make problem has gone away.
2. A lot of memory that just wasn't being free'd after use is now freed.
   This should cause make to take up a LOT less memory when dealing with
   archive targets.
3. Give proper credit to Adam de Boor in a number of files.
Obtained from: NetBSD (and Adam de Boor)
1995-01-23 21:03:17 +00:00
wollman
ba9388f7cc Don't print protocol-cloned routes by default (enabled by -a flag).
Print non-zero expiration timers.
Use err(3) for error reporting.
1995-01-23 20:19:16 +00:00
paul
26f0276b31 A forms interface builder. Basically, it reads a forms spec file and
spits out a frm.tab.h file with all the definitions needed by the
libforms interface.
1995-01-23 14:43:38 +00:00
bde
d6e176c25f Update comments about MISSING and GNU versions. 1995-01-21 14:47:33 +00:00
bde
99553d78fd Don't default to -g in ${CFLAGS}. Developers can still use `make g=-g ...'
for debugging.  The default ${CFLAGS} still clobbers the system default
of -O2 to -O.
1995-01-21 14:41:45 +00:00
bde
ac917deba6 Use exactly the same checks in excluded() as in inlist(): ignore stabs and
stringless symbols in excluded(); check for too-small (nonzero) string table
offsets in inlist().
1995-01-21 10:24:18 +00:00
ache
546fa44779 Better protection against too long pathes and 8bit controls in file
names, locate dumps core instead
1995-01-21 05:50:50 +00:00
ache
bf096f839f Not go to interactive mode, if login failed for URLs, just
exit(1). Dedicated to Jordan.
1995-01-21 01:37:22 +00:00
wollman
cc0c7809c4 In the non-PARANOID case, make sure to set `notickets' to 0 sothat login.c
doesn't complain.
1995-01-20 23:07:10 +00:00
wollman
9af3d75b4d Update for new kpasswd interface. 1995-01-20 22:03:36 +00:00
wollman
b1b8413d9a Added mk_cmds. 1995-01-19 22:31:17 +00:00
wollman
ece7af0e56 Port to FreeBSD. (Sorry there's no man page yet.) 1995-01-19 22:27:58 +00:00
wollman
13f4ae2eb9 This commit was generated by cvs2svn to compensate for changes in r5719,
which included commits to RCS files with non-trunk default branches.
1995-01-19 21:30:25 +00:00
wollman
3c7d166730 Other part of SIPB subsystem library, the program to make command tables. 1995-01-19 21:30:25 +00:00
wollman
6feecac712 Kill old Kerberos password-changing support:
1) It was export-controlled.
2) It used some ad-hoc protocol invented by Berkeley in ignorance of the
   standard MIT distribution's way of doing it (which makes it useless
   to most people).

This should be fixed once we have `kadmin'/`kadmind'.
1995-01-19 21:03:48 +00:00
bde
3f2abb0c11 Add option `-x excludelist'. This will be used for removing variously
spelled g*compiled* symbols from the kernel so that ddb doesn't have to
do it.  The symbols are currently removed by dbsym but dbsym will go
away when symbols are loaded by the boot loader.

Document -m option in usage message.

Check for overrunning some arrays.

Fix some misformatting.
1995-01-17 07:20:26 +00:00
bde
63bcd55854 Obtained from: looked at the fix in 1.1.5 and rewrote it
Fix entabbing.
1995-01-17 07:02:31 +00:00
jkh
26a9ef51ab The Makefile contained in usr.bin/tconv contains a bogus
reference to the absolute path /usr/src/lib/libmytinfo.  The enclosed
patch fixes this.

Submitted by:	Remy Card <Remy.Card@masi.ibp.fr>
1995-01-15 06:19:01 +00:00