]> git.cameronkatri.com Git - pw-darwin.git/log
pw-darwin.git
29 years agoRemove bogus ${DESTDIR}s from LINKS.
Bruce Evans [Thu, 17 Aug 1995 11:26:42 +0000 (11:26 +0000)]
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.

29 years agoTake the ypchfn/ypchsh stuff that was removed from passwd
Bill Paul [Sun, 13 Aug 1995 16:12:28 +0000 (16:12 +0000)]
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.)

29 years agoSmall NIS tweak: frob pw_error() a little so that it can say either
Bill Paul [Sun, 13 Aug 1995 16:05:06 +0000 (16:05 +0000)]
Small NIS tweak: frob pw_error() a little so that it can say either
'NIS information unchanged' or '/etc/master.passwd unchanged'
depending on which was is being modified (conditional on -DYP).

This is to save me the trouble of writing a whole other error
routine (nis_error()?) for the upcoming changes to passwd and
chpass.

29 years agoDelete bogus referneces to timezone code internal header file `tzfile.h',
Garrett Wollman [Mon, 7 Aug 1995 19:17:46 +0000 (19:17 +0000)]
Delete bogus referneces to timezone code internal header file `tzfile.h',
which is no longer bogusly installed in /usr/include.

29 years agoFix chpass so that it doesn't advance the password
Mike Pritchard [Sun, 16 Jul 1995 18:49:12 +0000 (18:49 +0000)]
Fix chpass so that it doesn't advance the password
change and expire dates by 1 day anytime root
edits a user that has a change/expire date set.

29 years agoSomewhere along the line, somebody decided to make the 'full name' field
Bill Paul [Fri, 23 Jun 1995 16:24:34 +0000 (16:24 +0000)]
Somewhere along the line, somebody decided to make the 'full name' field
restricted. Am I the only one who sees the absurdity of having chfn be
a link to chpass, and then denying users permission to use chpass to
change their full names?

Of course, chpass has a much more severe bug in it, which is that it
allows users to change their password database info without first
asking them for their password. I hope to fix this at some point
so that I can merge ypchpass, ypchfn, ypchsh and chpass into one
program (password authentication is required for changing NIS data).

29 years agoRemove trailing whitespace.
Rodney W. Grimes [Tue, 30 May 1995 06:41:30 +0000 (06:41 +0000)]
Remove trailing whitespace.

29 years agoRemove trailing whitespace.
Rodney W. Grimes [Tue, 30 May 1995 03:57:47 +0000 (03:57 +0000)]
Remove trailing whitespace.

29 years agoThe problem is the returned salt, while the freebsd man pages asks that the
Jordan K. Hubbard [Sat, 20 May 1995 13:05:22 +0000 (13:05 +0000)]
The problem is the returned salt, while the freebsd man pages asks that the
crypt salt string begin with a '_', no other crypt's do.  If you remove the
initialization of $salt to '_' in sub salt(), everything works as advertised.
Submitted by: Charles Henrich <henrich@crh.cl.msu.edu>

29 years agoDon't accept usernames longer than 8 characters
Andrey A. Chernov [Sun, 30 Apr 1995 19:20:25 +0000 (19:20 +0000)]
Don't accept usernames longer than 8 characters
Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>

29 years agoMissing ${DESTDIR} on chflags commands added.
Rodney W. Grimes [Mon, 17 Apr 1995 19:15:38 +0000 (19:15 +0000)]
Missing ${DESTDIR} on chflags commands added.

29 years agoNon-blocking lock
Andrey A. Chernov [Sun, 9 Apr 1995 03:34:10 +0000 (03:34 +0000)]
Non-blocking lock
Remove old salt cause possible endless loop
Submitted by: <wosch@cs.tu-berlin.de>

29 years agoBug fixed: even root was unable to edit restricted fields
Andrey A. Chernov [Tue, 21 Mar 1995 15:30:59 +0000 (15:30 +0000)]
Bug fixed: even root was unable to edit restricted fields

29 years agoFix suspended vipw hangs
Andrey A. Chernov [Thu, 9 Mar 1995 21:53:12 +0000 (21:53 +0000)]
Fix suspended vipw hangs
Obtained from: NetBSD

29 years ago o more options
Andrey A. Chernov [Wed, 8 Mar 1995 22:44:37 +0000 (22:44 +0000)]
o more options
o less restrictive, you can choise uid, gid ...
o invite user into some groups
o encrypted passwords with crypt
o batch mode (for instance, this works now:
  $ adduser -batch jkh guest,uuadmin "Jordan K. Hubbard" passwd
  see manpage for more details)

Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>

29 years agoFixes for chpass.
Jordan K. Hubbard [Thu, 9 Feb 1995 11:14:39 +0000 (11:14 +0000)]
Fixes for chpass.
Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>

29 years agoBe sure to properly fail if there are not enough fields. Problem
David Greenman [Fri, 27 Jan 1995 22:30:03 +0000 (22:30 +0000)]
Be sure to properly fail if there are not enough fields. Problem
reported by MARC Giannoni <marc@cmc.eng.comsat.com>, this fix is by me.

30 years agoAdd a `-p' option, allowing the super-user to directly set a user's
Garrett Wollman [Sat, 14 Jan 1995 23:14:25 +0000 (23:14 +0000)]
Add a `-p' option, allowing the super-user to directly set a user's
encrypted password.  Kerberized `login' might use this, if I get around
to implementing the complete Allspice System behavior.

30 years agoCorrect some of the english.
Jordan K. Hubbard [Mon, 9 Jan 1995 11:32:01 +0000 (11:32 +0000)]
Correct some of the english.

30 years agoWolfram Schneider <wosch@cs.tu-berlin.de>:
Jordan K. Hubbard [Mon, 9 Jan 1995 11:26:31 +0000 (11:26 +0000)]
Wolfram Schneider <wosch@cs.tu-berlin.de>:
o manpage
o save configuration in /etc/adduser.conf
o send message file (/etc/adduser.message)
Submitted by: woschcs.tu-berlin.de

30 years agoUpdate adduser to version by Wolfram Schneider. Sorry, Gary, but his
Jordan K. Hubbard [Tue, 3 Jan 1995 09:46:14 +0000 (09:46 +0000)]
Update adduser to version by Wolfram Schneider.  Sorry, Gary, but his
adduser is a Cadillac to your Volkswagen.. :-)
Submitted by: wosch@cs.tu-berlin.de

30 years agoChange ${COPY} to -c, always needed here
Andrey A. Chernov [Sat, 31 Dec 1994 11:12:35 +0000 (11:12 +0000)]
Change ${COPY} to -c, always needed here
Remove manpage reference to BSD adduser, add pwd_mkdb reference

30 years agoRemove extra targets per Bruce suggestion.
Andrey A. Chernov [Fri, 30 Dec 1994 15:38:04 +0000 (15:38 +0000)]
Remove extra targets per Bruce suggestion.
Use more macros instead of hardcoded things

30 years agoChange man section
Andrey A. Chernov [Fri, 30 Dec 1994 12:15:39 +0000 (12:15 +0000)]
Change man section

30 years agoOops, rename adduser.sh to adduser.perl
Andrey A. Chernov [Fri, 30 Dec 1994 12:13:08 +0000 (12:13 +0000)]
Oops, rename adduser.sh to adduser.perl
Add empty clean and obj targets.

30 years agoYet one cleanup
Andrey A. Chernov [Fri, 30 Dec 1994 12:03:48 +0000 (12:03 +0000)]
Yet one cleanup

30 years agoFix everything.
Bruce Evans [Fri, 30 Dec 1994 07:18:23 +0000 (07:18 +0000)]
Fix everything.

30 years agoChanged my copyright back. Too many problems with new one.
Gary Clark II [Wed, 28 Dec 1994 17:27:21 +0000 (17:27 +0000)]
Changed my copyright back. Too many problems with new one.

30 years agoFix configfile path
Andrey A. Chernov [Wed, 28 Dec 1994 13:49:55 +0000 (13:49 +0000)]
Fix configfile path

30 years agoMove conf files to src/etc
Andrey A. Chernov [Wed, 28 Dec 1994 13:47:31 +0000 (13:47 +0000)]
Move conf files to src/etc

30 years agoAdd makefile for adduser.
Gary Clark II [Wed, 28 Dec 1994 07:35:09 +0000 (07:35 +0000)]
Add makefile for adduser.
Would a makefile guru please look this over to make sure I did this right?

30 years agoAdd Id strings
Gary Clark II [Wed, 28 Dec 1994 07:11:29 +0000 (07:11 +0000)]
Add Id strings

30 years agoAdding my adduser command. I only have to add a makefile for it to
Gary Clark II [Wed, 28 Dec 1994 06:55:42 +0000 (06:55 +0000)]
Adding my adduser command.  I only have to add a makefile for it to
be compleate.

30 years agoFix logic in previous commit.
Bruce Evans [Mon, 14 Nov 1994 07:13:12 +0000 (07:13 +0000)]
Fix logic in previous commit.

30 years agoFix beforeinstall target:
Andrey A. Chernov [Tue, 8 Nov 1994 14:59:22 +0000 (14:59 +0000)]
Fix beforeinstall target:
use chflags /usr/bin/chpass ONLY if chpass present

30 years agoMaintain pw_fields, and output same to password database.
Garrett Wollman [Tue, 20 Sep 1994 01:15:08 +0000 (01:15 +0000)]
Maintain pw_fields, and output same to password database.

!!!!!!!!
NB
!!!!!!!!
You MUST pwd_mkdb /etc/master.passwd before attempting to use the new
libc, or things may go wrong.  (I doubt anything actually /will/ go
wrong, but the actual behavior is undefined.  YOU HAVE BEEN WARNED.)
The database format is, however, backwards-compatible, so old executables
will still work.

30 years agoAdd a beforeinstall rule to turn off the immutable flag on chpass so you
Rodney W. Grimes [Mon, 30 May 1994 14:03:53 +0000 (14:03 +0000)]
Add a beforeinstall rule to turn off the immutable flag on chpass so you
can install a new copy of it.

30 years agoBSD 4.4 Lite Usr.bin Sources
Rodney W. Grimes [Fri, 27 May 1994 12:33:43 +0000 (12:33 +0000)]
BSD 4.4 Lite Usr.bin Sources

30 years agoBSD 4.4 Lite usr.sbin Sources
Rodney W. Grimes [Thu, 26 May 1994 05:23:31 +0000 (05:23 +0000)]
BSD 4.4 Lite usr.sbin Sources