summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bunch of spelling errors in a bunch of man pages.Mike Pritchard1996-01-301-8/+8
|
* Move the YP initialization earlier, so it's done before the evaluationJoerg Wunsch1996-01-061-26/+27
| | | | | | of -p/-s/-a related cruft. Closes PR # misc/933 "chpass -s <shell>" does not work
* Bump libutil revision after recent addition of setproctitle().Peter Wemm1996-01-011-0/+44
| | | | | | | | Install (optional) libutil.h with prototypes for the functions and document this in the man page. minor cleanups to the various routines, include the prototype file, declare return codes etc.
* recording cvs-1.6 file deathPeter Wemm1995-12-305-478/+0
|
* Clean up some of the english here..Jordan K. Hubbard1995-10-221-10/+10
|
* Various fixes to make this work better when called from other tools.Jordan K. Hubbard1995-10-191-2/+14
| | | | Submitted by: Coranth Gryphon <gryphon@healer.com> & Wolfram Schneider <wosch@cs.tu-berlin.de>
* Correct a typo :-).Andreas Schulz1995-09-021-1/+1
|
* Make use_yp() smarter about figuring out whether a user is local orBill Paul1995-09-024-30/+202
| | | | | | | | | | 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.
* Remove bogus ${DESTDIR}s from LINKS.Bruce Evans1995-08-171-8/+10
| | | | | | | 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.
* Take the ypchfn/ypchsh stuff that was removed from passwdBill Paul1995-08-137-9/+421
| | | | | | | | | | | | | | | | | | | 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.)
* Small NIS tweak: frob pw_error() a little so that it can say eitherBill Paul1995-08-131-1/+8
| | | | | | | | | '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.
* Delete bogus referneces to timezone code internal header file `tzfile.h',Garrett Wollman1995-08-071-5/+4
| | | | which is no longer bogusly installed in /usr/include.
* Fix chpass so that it doesn't advance the passwordMike Pritchard1995-07-161-11/+9
| | | | | change and expire dates by 1 day anytime root edits a user that has a change/expire date set.
* Somewhere along the line, somebody decided to make the 'full name' fieldBill Paul1995-06-231-1/+1
| | | | | | | | | | | | 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).
* Remove trailing whitespace.Rodney W. Grimes1995-05-304-8/+8
|
* Remove trailing whitespace.Rodney W. Grimes1995-05-302-3/+3
|
* The problem is the returned salt, while the freebsd man pages asks that theJordan K. Hubbard1995-05-201-2/+2
| | | | | | 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>
* Don't accept usernames longer than 8 charactersAndrey A. Chernov1995-04-301-1/+5
| | | | Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
* Missing ${DESTDIR} on chflags commands added.Rodney W. Grimes1995-04-171-2/+3
|
* Non-blocking lockAndrey A. Chernov1995-04-091-13/+20
| | | | | Remove old salt cause possible endless loop Submitted by: <wosch@cs.tu-berlin.de>
* Bug fixed: even root was unable to edit restricted fieldsAndrey A. Chernov1995-03-211-4/+4
|
* Fix suspended vipw hangsAndrey A. Chernov1995-03-091-9/+25
| | | | Obtained from: NetBSD
* o more optionsAndrey A. Chernov1995-03-082-594/+1053
| | | | | | | | | | | 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>
* Fixes for chpass.Jordan K. Hubbard1995-02-092-9/+25
| | | | Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
* Be sure to properly fail if there are not enough fields. ProblemDavid Greenman1995-01-271-2/+4
| | | | reported by MARC Giannoni <marc@cmc.eng.comsat.com>, this fix is by me.
* Add a `-p' option, allowing the super-user to directly set a user'sGarrett Wollman1995-01-142-7/+31
| | | | | encrypted password. Kerberized `login' might use this, if I get around to implementing the complete Allspice System behavior.
* Correct some of the english.Jordan K. Hubbard1995-01-091-12/+12
|
* Wolfram Schneider <wosch@cs.tu-berlin.de>:Jordan K. Hubbard1995-01-092-123/+680
| | | | | | | o manpage o save configuration in /etc/adduser.conf o send message file (/etc/adduser.message) Submitted by: woschcs.tu-berlin.de
* Update adduser to version by Wolfram Schneider. Sorry, Gary, but hisJordan K. Hubbard1995-01-032-208/+541
| | | | | adduser is a Cadillac to your Volkswagen.. :-) Submitted by: wosch@cs.tu-berlin.de
* Change ${COPY} to -c, always needed hereAndrey A. Chernov1994-12-312-3/+3
| | | | Remove manpage reference to BSD adduser, add pwd_mkdb reference
* Remove extra targets per Bruce suggestion.Andrey A. Chernov1994-12-301-3/+1
| | | | Use more macros instead of hardcoded things
* Change man sectionAndrey A. Chernov1994-12-301-3/+2
|
* Oops, rename adduser.sh to adduser.perlAndrey A. Chernov1994-12-302-1/+198
| | | | Add empty clean and obj targets.
* Yet one cleanupAndrey A. Chernov1994-12-303-6/+272
|
* Fix everything.Bruce Evans1994-12-301-6/+8
|
* Changed my copyright back. Too many problems with new one.Gary Clark II1994-12-282-4/+6
|
* Fix configfile pathAndrey A. Chernov1994-12-281-3/+2
|
* Move conf files to src/etcAndrey A. Chernov1994-12-281-6/+0
|
* Add makefile for adduser.Gary Clark II1994-12-281-0/+15
| | | | Would a makefile guru please look this over to make sure I did this right?
* Add Id stringsGary Clark II1994-12-283-0/+7
|
* Adding my adduser command. I only have to add a makefile for it toGary Clark II1994-12-284-0/+275
| | | | be compleate.
* Fix logic in previous commit.Bruce Evans1994-11-141-1/+1
|
* Fix beforeinstall target:Andrey A. Chernov1994-11-081-1/+1
| | | | use chflags /usr/bin/chpass ONLY if chpass present
* Maintain pw_fields, and output same to password database.Garrett Wollman1994-09-201-0/+17
| | | | | | | | | | | !!!!!!!! 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.
* Add a beforeinstall rule to turn off the immutable flag on chpass so youRodney W. Grimes1994-05-301-0/+3
| | | | can install a new copy of it.
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-2711-0/+1376
|
* BSD 4.4 Lite usr.sbin SourcesRodney W. Grimes1994-05-263-0/+362