summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move uucplock into libutil and create a manual page.Brian Somers1997-03-301-1/+3
|
* Fix for PR #3141: check for NULL before strdup()ing pw->pw_class.Bill Paul1997-03-291-2/+3
| | | | | | | | | (I'm not sure why this happens, though I suspect it may be because the server is configured with only passwd maps instead of both passwd and master.passwd maps. This is allowed, but I think in this case pw_class is left NULL, hence the problem.) Also applied similar patch to chpass/pw_yp.c just for paranoia's sake.
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-3/+3
| | | | posix standard on the topic.
* Initialize RNG only onceAndrey A. Chernov1997-03-241-23/+18
| | | | Use srandomdev() now
* Fix srandom arg according to Lite2Andrey A. Chernov1997-03-111-3/+3
|
* Support comments in password database (/etc/master.passwd).Wolfram Schneider1997-03-091-1/+9
| | | | | Comments in group database (/etc/group) are currently not supported - adduser silently delete blank lines and comments.
* Cleaned up some messages, added a check to remove a leftover popd fileWolfram Schneider1997-03-082-50/+227
| | | | | | | | | | from /var/mail, added a routine to delete the removed user's files from /tmp, /var/tmp, & /var/tmp/vi.recover, and added code to kill any running processes owned by the removed user). I've also added a flag for non-interactive execution, cleaned up the man page, and adjusted my address. Submitted by: ghelmer@cs.iastate.edu (Guy Helmer)
* Typo fix 'and' -> 'an'.Daniel O'Callaghan1997-03-041-2/+2
| | | | This is a 2.2 candidate.
* Back out MAXLOGNAME fix, Bruce points that copyinstr require NULAndrey A. Chernov1997-03-031-2/+2
|
* Fix MAXLOGNAME usage, the code has wrong assumption thatAndrey A. Chernov1997-03-021-3/+3
| | | | it must be NUL terminated
* "infinity" check was missed from login_getcapsize(), add itAndrey A. Chernov1997-02-271-1/+7
| | | | One manifestation of this bug: all networking users have coredumpsize=0
* If an administrator somehow manages to break the hardlinksMike Pritchard1997-02-261-2/+4
| | | | | | | | | | | | on chpass & passwd and turn the links into individual files with the schg flag set, make install will fail to install all of the proper links. Fixed by removing the schg flag on all of the links before installing. Closes PR# 2040. Submitted by: Ph. Charnier <charnier@xp11.frmug.org>
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
|
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-2231-31/+31
|
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-222-2/+2
|
* Yet another formatting consistency check.David Nugent1997-02-071-1/+1
|
* Fix useage of MAXLOGNAME to include terminating NUL, by usingDavid Nugent1997-02-072-3/+12
| | | | | max(MAXLOGNAME-1,UT_NAMESIZE). Tidy up "pretty" printing format for longer usernames.
* Fix free()ing block twice, remove unused function.David Nugent1997-01-301-15/+1
|
* Fix typo .->, for default separators in login_getcaplist().David Nugent1997-01-291-1/+2
|
* Completed fixes with login_getcapsize().David Nugent1997-01-291-1/+2
|
* 1) Fixed bug in free()ing internal string/array whereDavid Nugent1997-01-291-24/+32
| | | | | | | allocated size not reset to 0 causing NULL dereference on call after login_close(). 2) Modify login_capsize() behaviour to match manpage, allow concatenated sizes; ie. 10m500k
* Sort cross references.Wolfram Schneider1997-01-206-9/+9
|
* Sort cross references.Wolfram Schneider1997-01-151-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-1436-36/+36
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Various bugfixes.David Nugent1997-01-071-7/+11
|
* Commit the right version this time. :-)David Nugent1997-01-071-2/+2
|
* Fix for login_getclass(NULL) case.David Nugent1997-01-071-4/+6
|
* Adds optional NIS passwd file updating and optionally rebuildingDavid Nugent1997-01-058-22/+202
| | | | | | NIS maps. Suggested by: Peter Wemm
* Remove duplicated #include.David Nugent1997-01-051-2/+1
|
* Fix reference /etc/acct/pw.conf -> /etc/pw.conf.David Nugent1997-01-051-2/+2
| | | | Pointed-Out-By: Peter Wemm.
* Library functions relating to the login class capabilities database,David Nugent1997-01-041-0/+564
| | | | | including manpages. See also login_cap.h.
* Implemented /home -> /usr/home symlink kludge.David Nugent1997-01-031-11/+28
| | | | | If home basedir would be created in the root partition, create it under /usr instead, and symlink /basedir -> /usr/basedir.
* 1) Base home directory is created if it does not already exist ifDavid Nugent1996-12-301-35/+65
| | | | | | | | useradd -m or useradd -D -b are used. 2) Hyphen allowed in username if not first character. Fix trivial bug in error fmt string. 3) /etc/skeykeys updating changed to do 'inplace' update, commenting out a username rather than removing it completely.
* Allow dash `-' (except for first char) and underscore `_' in usernames.Wolfram Schneider1996-12-292-5/+7
| | | | pointed out by: max
* Finally document the interfaces found in libutil. While being here,Joerg Wunsch1996-12-291-1/+3
| | | | | | | | | also add the missing declaration of forkpty() to libutil.h. Btw., the calling interface for login(3) is crude. Some better abstraction is needed, perhaps similar to logwtmp(3). 2.2 candidate, but i'll wait for the spelling police first. :)
* remove group limits checksWolfram Schneider1996-12-292-45/+7
|
* increase username length limit to 16Wolfram Schneider1996-12-291-2/+2
|
* Correct file modes on updated /etc/skeykeys.David Nugent1996-12-231-2/+2
|
* Minor internal mdoc usage changes.Mike Pritchard1996-12-231-4/+6
|
* Minor style fixes.Mike Pritchard1996-12-235-87/+94
| | | | | | I also renamed the adduser "-quit" option to "-quiet", since it is supposed to be the same as the -s/-silent option, and -quit must have beena typo.
* 1) 200 users per group limitation removed and pwDavid Nugent1996-12-219-290/+472
| | | | | | | will handle lines of any length in /etc/group. 2) Fixed bug with usermod -d not updating user's home directory. 3) Minor formatting display changes/fixes with *show -P.
* Bugfix (cosmetic) for output of generated passwords.David Nugent1996-12-201-3/+3
|
* Allow 8-bit characters in the passwd gecos field, and adds a paragraphDavid Nugent1996-12-194-16/+37
| | | | | to the mangpage explaining the consequences (to be updated at a later date after login class conf support is added).
* Changes to password generator: fallback to MD5 generator disabledDavid Nugent1996-12-172-35/+70
| | | | | | (/dev/urandom used by default under FreeBSD), and implemented a "portable" but less secure generator for other systems. Add display of expiry/password change dates in -P user display.
* Submitted by: proff@iq.orgDavid Nugent1996-12-171-2/+2
| | | | Minor fix for security patch.
* Reviewed by: davidn@blaze.net.auDavid Nugent1996-12-161-4/+50
| | | | | Submitted by: proff@iq.org Security patch for better random password generation.
* Update from David, reflecting Wolfram's wishes regarding limitation ofJoerg Wunsch1996-12-111-5/+8
| | | | | | the allowable character set. Submitted by: David Nugent
* Merg-o-matic.Joerg Wunsch1996-12-111-13/+7
|
* Copyright update by the author, to be more in line with our sampleJoerg Wunsch1996-12-1020-219/+111
| | | | | | copyright. Submitted by: David Nugent
* Merge from the vendor-branch.Joerg Wunsch1996-12-101-56/+208
|