Bill Paul
b62f3dc428
Bug fix: use the use_yp() function in the chpass(1) code to determine
...
correctly whether a user is local or NIS (or both, or neither). If you
have a user that exists locally but not in NIS, passwd(1) could get
confused and try to submit the password change to NIS. (Fortunately,
yppasswdd is smart enough to spot the error and reject the change.)
Bug reported by: Charles Owens <owensc@enc.edu>
1995-09-02 04:02:28 +00:00
Bill Paul
9219423651
Make use_yp() smarter about figuring out whether a user is local or
...
NIS (or both, or neither). Also add support for -l and -y flags to
force behavior to local or NIS. use_yp() also goes out of its way to
retrieve the correct password database information (local or NIS)
depending on what the situation since getpwent() & co. can't
necessarily be trusted in some cases.
Also document new flags in man page.
1995-09-02 03:56:21 +00:00
John Fieber
d8c5d59031
Command line arguments are now gathered by NewGetOpt. Command line
...
syntax is slightly changed: -format is now -f format.
New option: -i name
This is a switch to control marked sections in SGML documents. Useful
for multi-lingual documents.
1995-08-31 00:14:02 +00:00
Andrey A. Chernov
0f895305a1
Fix error: while getting file name, backspace not works, but produce
...
^G instead. Proper interaction with ncurses require turn keypad
off/on there.
1995-08-30 17:42:28 +00:00
Andrey A. Chernov
c6eb6d4f8f
Fix 8bit chars output, not highlight all of them
1995-08-30 17:11:54 +00:00
Jordan K. Hubbard
892e037673
While posting something to -current about this, I got an idea for making
...
it a more ideal I18N candidate. Here it is.
1995-08-30 13:25:55 +00:00
Jordan K. Hubbard
323b0c7f1f
Add ee.
1995-08-30 09:52:07 +00:00
Jordan K. Hubbard
6c29f08e5a
This commit was generated by cvs2svn to compensate for changes in r10452,
...
which included commits to RCS files with non-trunk default branches.
1995-08-30 07:28:06 +00:00
Jordan K. Hubbard
6f80b46075
This is `ee' - the Easy Editor. I'm bringing it in to replace vi on
...
the installation floppy (and in any references in new user docs for
editing files) since tossing a novice into vi with no help or clue as
to what the key bindings are is both cruel and in violation of the
Hague Convention. It's also much SMALLER than vi and even supports emacs
key bindings for those so inclined.
Submitted by: "Hugh F. Mahon" <hugh@nsmdserv.cnd.hp.com>
1995-08-30 07:28:06 +00:00
John Fieber
918bad6d52
New Improved navigation controls.
1995-08-29 01:02:12 +00:00
Mike Pritchard
ae532ecb79
Check for expired passwords before allowing access to the system.
1995-08-28 21:30:59 +00:00
Jordan K. Hubbard
0031ae7a17
Oh foo. I should a) learn to read. b) learn to think. :-)
...
Telnet has nothing to do with this, it's telnetd and telnetd
doesn't use KLUDGELINEMODE so that theory is washed up. Anyway,
back out previous commit and slink away with red face.
1995-08-28 17:52:39 +00:00
Jordan K. Hubbard
58cba44370
Remove -DKLUDGELINEMODE again; it's breaking things and Paul T. says
...
it's a bug anyway.
1995-08-28 17:47:39 +00:00
David Greenman
b5203ad098
Fixed bug where 'id <user>' output the wrong group name (the user name
...
was output instead). Pointed out by Chael Hall <nowhere@chaos.taylored.com>.
1995-08-28 10:23:58 +00:00
David Greenman
7e877393a8
Backed out change in rev 1.2.
1995-08-27 02:02:19 +00:00
Jordan K. Hubbard
6193bf6046
Accept escaped quotes in msg catalogs.
1995-08-26 18:37:49 +00:00
John Fieber
771a16a90f
Make the -ascii option generate filename.ascii rather than filename.txt
1995-08-25 23:26:49 +00:00
Paul Traina
250ea66842
Fix up warning about qsort parameters
1995-08-23 04:51:05 +00:00
Andrey A. Chernov
ddcf802236
Upgrade to 2.9
1995-08-21 12:34:18 +00:00
Peter Wemm
6bc227b405
Update the DNS tools from 4.9.3-b9 -> 4.9.3-b24
1995-08-20 22:32:57 +00:00
Peter Wemm
5307efb797
Update 4.9.3.beta9p1 -> 4.9.3-beta24
1995-08-20 22:22:38 +00:00
Bruce Evans
c555738304
Remove bogus ${DESTDIR}s from LINKS.
...
Keep DPADD up to date with LDADD.
bsd.prog.mk's install rule can't handle schg'ed links, so ugly
beforeinstall and afterinstall rules are required.
1995-08-17 11:26:42 +00:00
Jordan K. Hubbard
ce19262d8c
Merge various fixes from NetBSD. This will allow the WordPerfect for
...
SCO installation to run all the way through (some POSIX fixes).
1995-08-16 05:56:44 +00:00
Joerg Wunsch
b5cfa4b2c4
'#' is not a comment if a non-space char follow
...
Closes PR # bin/657: mail(1): comments in ~/.ma...
Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-08-15 19:40:26 +00:00
Joerg Wunsch
8e502f1158
head(1) ignored EOFs (in certain cases).
...
Closes PR # bin/678: head(1) ignore EOF
Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-08-15 19:34:11 +00:00
Bill Paul
367157222f
Take the ypchfn/ypchsh stuff that was removed from passwd
...
and graft it into chpass.
Chpass can now tell when it's being asked to operate on an NIS
user and it displayes the appropriate message in the editor
template ("Changing NIS information for foo"). After the changes
have been made, chpass will promte the user for his NIS password.
If the password is correct, the changes are committed to yppasswdd.
Hopefully, this should make NIS more transparent to the end user.
Note that even the superuser needs to know a user's password before
he can change any NIS information (such is the nature of yppasswdd).
Also, changes to the password field are not permitted -- that's what
yppasswd is for. (The superuser may specify a new password, but
again, he needs to know the user's original password before he can
change it.)
1995-08-13 16:12:28 +00:00
Bill Paul
a3ce11a24d
Remove the ypchfn/ypchsh stuff from passwd and leave just the
...
yppasswd support. The rest is moving into chpass.
1995-08-13 16:07:36 +00:00
Mike Pritchard
c4b4d74391
Restore the reference to quot(8).
1995-08-13 09:39:23 +00:00
Andreas Schulz
1f4b92cffb
Submitted by: careilly@tcd.ie Colman Reilly
...
replace the reference of quot(8) with a reference to quota(1).
Colman Reilly noticed the missing quot, GNATS bin/671.
1995-08-12 13:52:26 +00:00
Andrey A. Chernov
3bef267d25
Replace old strftime format by %c, old format forces "Mon Day",
...
sequence which can be false for several languages.
1995-08-08 03:32:03 +00:00
Andrey A. Chernov
d40cee33a8
Allow national printable chars in .plan
1995-08-08 00:45:21 +00:00
Andrey A. Chernov
7a88bad16a
Replace asctime/ctime by strftime %c to use national representation
1995-08-08 00:38:33 +00:00
Andrey A. Chernov
8327624e76
Change ctime to strftime %c to use national date/time representation.
1995-08-08 00:15:16 +00:00
Andrey A. Chernov
eaf7e02e63
Replace ctime by strftime %c to use national date representation now
1995-08-07 23:39:58 +00:00
Garrett Wollman
656dcd4316
Delete bogus referneces to timezone code internal header file `tzfile.h',
...
which is no longer bogusly installed in /usr/include.
1995-08-07 19:17:46 +00:00
Peter Wemm
8e53a8e6fc
Fix infamous "TIOCGWINSZ: Interrupted system call" on return from a ^Z
...
Fixes PR#513
Reviewed by:
Submitted by:
Obtained from:
1995-08-07 16:44:28 +00:00
Andrey A. Chernov
2ccab10de2
Remove timedef
1995-08-06 11:19:27 +00:00
Mark Murray
3b9d90c08c
Only build telnet if secure telnet is not going to be built.
...
Reviewed by: rgrimes
1995-08-06 11:05:31 +00:00
Jordan K. Hubbard
ab6e36a2b6
Eliminate a few more lurking obj bogons.
1995-08-06 02:52:40 +00:00
Andrey A. Chernov
bc34d0a3ee
Fix pm name after some time playing with
1995-08-05 23:53:33 +00:00
Andrey A. Chernov
9624513ae3
timedef added
1995-08-05 23:28:21 +00:00
Andrey A. Chernov
4a171a9d58
Very simple LC_TIME compiler, you fill free to commit more complicated one
1995-08-05 23:23:41 +00:00
Jordan K. Hubbard
0d189a30f2
Reference to obj dir hardcoded in this file replaced with
...
a more intelligent macro. I hate the obj link mechanism, I tell you, I hate
it! :-)
1995-08-05 23:21:39 +00:00
Andrey A. Chernov
8992794b01
Remove _set_ospeed, it is done in tgetent
1995-08-05 22:04:23 +00:00
Andrey A. Chernov
cc3c7e3860
Remove _set_ospeed, done in tgetent now.
1995-08-05 21:33:11 +00:00
Andrey A. Chernov
bbaccbeb9a
Remove _set_ospeed, trick done in tgetent now
1995-08-05 21:25:28 +00:00
Paul Traina
4c450ad7a7
Use data ports in the range 40000..44999 by default to enhance FTP usability
...
in a firewall environment. Original idea by Mark Tracy (?).
Reviewed by: wollman
Submitted by: pst
1995-08-05 19:12:05 +00:00
Joerg Wunsch
84be91cbaf
Make install not remove the target file if -s has been specified but
...
stripping failed (since the file has been a shell script, for
example).
Closes PR # bin/645: "install -c -s" can't inst...
Submitted by: hohmuth@inf.tu-dresden.de (Michael Hohmuth)
1995-08-04 17:13:36 +00:00
Andrey A. Chernov
95729168e4
Add missing ospeed initialization.
1995-08-04 08:05:18 +00:00
Andrey A. Chernov
ce2219545f
Replace ospeed switch with _set_ospeed
1995-08-04 07:04:40 +00:00