]> git.cameronkatri.com Git - pw-darwin.git/log
pw-darwin.git
26 years agoRemove useless `BINOWN=root' now that it is the default.
David E. O'Brien [Sat, 19 Sep 1998 22:42:14 +0000 (22:42 +0000)]
Remove useless `BINOWN=root' now that it is the default.

26 years agoRemove useless `BINOWN=root' now that it is the default.
David E. O'Brien [Sat, 19 Sep 1998 22:42:06 +0000 (22:42 +0000)]
Remove useless `BINOWN=root' now that it is the default.

26 years agoFix inappropriate use of .Ql macro.
Joseph Koshy [Fri, 18 Sep 1998 04:45:43 +0000 (04:45 +0000)]
Fix inappropriate use of .Ql macro.

PR: docs/7905
Submitted by: kuma@jp.freebsd.org

26 years agoBump up the E_SHELL constant after an extra field was added, thus making
Mark Murray [Thu, 3 Sep 1998 17:32:22 +0000 (17:32 +0000)]
Bump up the E_SHELL constant after an extra field was added, thus making
this refer to the wrong data.
Submitted by: axl@iafrica.com (Sheldon Hearn)

26 years agoThe `group{del,mod,show}' take require a '[group|gid]' argument.
Joseph Koshy [Mon, 31 Aug 1998 04:49:04 +0000 (04:49 +0000)]
The `group{del,mod,show}' take require a '[group|gid]' argument.

PR: docs/7788

26 years agoRemoving -batch option from adduser. Adduser was written as
Wolfram Schneider [Mon, 17 Aug 1998 18:50:29 +0000 (18:50 +0000)]
Removing -batch option from adduser. Adduser was written as
an *interactive* command for newbies. The pw(8) does now a much better
job for adding users from command line.  Also, the -batch option is
not well tested, buggy and unsupported.

26 years agoSubmitted by: Peter Hawkins <thepish@freebsd.org>
Peter Hawkins [Fri, 14 Aug 1998 03:47:38 +0000 (03:47 +0000)]
Submitted by: Peter Hawkins <thepish@freebsd.org>
Document last mod (extended gcos)

26 years agoSubmitted by: Peter Hawkins <thepish@FreeBSD.org>
Peter Hawkins [Fri, 14 Aug 1998 03:18:32 +0000 (03:18 +0000)]
Submitted by: Peter Hawkins <thepish@FreeBSD.org>
Add functionality for support for more than 4 subfields within gcos. chsh,
chpass etc did not parse beyond the 4th field previously and so truncated
gcos on updating the database.

26 years ago- On second thought, attempt to get the read-only lock, but don't
Nate Williams [Tue, 4 Aug 1998 22:31:26 +0000 (22:31 +0000)]
- On second thought, attempt to get the read-only lock, but don't
  consider it a exit failure if it doesn't work.  This means that root
  processes can safely get the lock, but normal processes can still use
  the 'pw' utility to get information (which may change out from under
  them.)

26 years ago- Removed read-only lock from 'pw'. This removes portions of the FIX
Nate Williams [Tue, 4 Aug 1998 22:20:11 +0000 (22:20 +0000)]
- Removed read-only lock from 'pw'.  This removes portions of the FIX
  from PR/6787, but allow non-root users to use pw to get password
  information.  However, this should be safe since the fixes for
  disallowing multiple instances from modifying the DB are still intact.

Bug noted by:  dima@best.net (Dima Ruban)

26 years agoFix race condition in pw caused by multiple instances of pwd_mkdb being
Nate Williams [Thu, 16 Jul 1998 17:18:25 +0000 (17:18 +0000)]
Fix race condition in pw caused by multiple instances of pwd_mkdb being
run at the same time.

Notes:
    The fileupdate function is still somewhat broken.  Instead of
    returning a failure code if it can't modify the original file it
    renames the .new file and continues as though nothing is wrong.
    This will cause the lock on the original file to be lost and could
    lead to a similar race condition.  I left that portion of the code
    alone since I feel that the maintainer of the code would have a
    better concept of how he wants to handle errors in that function
    than I do.

PR: bin/6787
Submitted by: Craig Spannring <cts@internetcds.com>

26 years agoCorrect the description of the last four fields.
Steve Price [Sat, 13 Jun 1998 19:14:14 +0000 (19:14 +0000)]
Correct the description of the last four fields.

PR: 6926
Submitted by: Josh Gilliam <josh@quick.net>

26 years agoAlways ask for homedir.
Wolfram Schneider [Sun, 7 Jun 1998 18:38:32 +0000 (18:38 +0000)]
Always ask for homedir.

PR: 6754
Submitted by: uhlar@netlab.sk

26 years agoAdd missing uu_lock_txfr() prototype
Andrey A. Chernov [Fri, 5 Jun 1998 08:21:33 +0000 (08:21 +0000)]
Add missing uu_lock_txfr() prototype

26 years agoTrim a domain part for wtmp as same as showed by "netstat -r".
Atsushi Murai [Mon, 1 Jun 1998 08:47:04 +0000 (08:47 +0000)]
Trim a domain part for wtmp as same as showed by "netstat -r".
Here is a some example for avoiding a confusion.

 It asssumes a logged host domain is "spec.co.jp". All
example is longer than UT_HOSTNAMELEN value.

   1) turbo.tama.spec.co.jp: 192.19.0.2  -> trubo.tama
   2) turbo.tama.foo.co.jp : 192.19.0.2  -> 192.19.0.2
   3) specgw.spec.co.jp    : 202.32.13.1 -> specgw

Submitted by: Atsushi Murai <amurai@spec.co.jp>

26 years agoAdd uu_lock_txfr() to transfer ownership of a successful
Brian Somers [Thu, 28 May 1998 23:17:09 +0000 (23:17 +0000)]
Add uu_lock_txfr() to transfer ownership of a successful
uu_lock() to another process.

26 years agoFixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus
Bruce Evans [Sun, 26 Apr 1998 16:31:14 +0000 (16:31 +0000)]
Fixed `make -j9' by putting generated headers in ${SRCS}.  Removed bogus
dependencies of generated .c files on generated headers (these made
`make -JN' work provided `depend' was made first).  Sorted sources lists.

26 years ago.Nm pw -> .Nm.
Philippe Charnier [Mon, 23 Mar 1998 08:28:12 +0000 (08:28 +0000)]
.Nm pw -> .Nm.

26 years agoAdd rcsid. Correct -Wall warning.
Philippe Charnier [Mon, 23 Mar 1998 07:41:49 +0000 (07:41 +0000)]
Add rcsid. Correct -Wall warning.

26 years agoMF22: Remove confusing comma
Tim Vanderhoek [Wed, 18 Mar 1998 16:21:55 +0000 (16:21 +0000)]
MF22: Remove confusing comma

26 years agoClarify the -batch arguments.
Steve Price [Sat, 14 Feb 1998 22:55:23 +0000 (22:55 +0000)]
Clarify the -batch arguments.

PR: 5677
Submitted by: Adrian Filipi-Martin <adrian@virginia.edu>

26 years agoOverhaul this manpage - removing typos, awkward phrasing, and addressing
Steve Price [Sat, 14 Feb 1998 18:33:37 +0000 (18:33 +0000)]
Overhaul this manpage - removing typos, awkward phrasing, and addressing
a few technical faults.

PR: 5692
Submitted by: dannyman@arh0300.urh.uiuc.edu

26 years agopwd_mkdb option '-c' was renamed to -C some weeks ago.
Wolfram Schneider [Wed, 11 Feb 1998 23:31:24 +0000 (23:31 +0000)]
pwd_mkdb option '-c' was renamed to -C some weeks ago.

PR: bin/5715
Submitted by:  dannyman <dannyman@arh0300.urh.uiuc.edu>

26 years agoTypo.
Wolfram Schneider [Mon, 2 Feb 1998 15:46:44 +0000 (15:46 +0000)]
Typo.

27 years agoRename the pwd_mkdb(8) option '-c' to '-C' for better compatiblity
Wolfram Schneider [Sat, 10 Jan 1998 17:27:28 +0000 (17:27 +0000)]
Rename the pwd_mkdb(8) option '-c' to '-C' for better compatiblity
with BSD/OS.

27 years agoUse consistent spelling,
Tim Vanderhoek [Thu, 25 Dec 1997 09:36:42 +0000 (09:36 +0000)]
Use consistent spelling,
writeable -> writable (recall prior debate over this? :-)
initialise -> initialize
recognise -> recognize

Merry Christmas! :)

27 years agoSmall bugfix: store $uid_start instead hard coded value 1000
Wolfram Schneider [Wed, 24 Dec 1997 11:44:14 +0000 (11:44 +0000)]
Small bugfix: store $uid_start instead hard coded value 1000
in /etc/adduser.conf.

27 years agoRemoved extra (non-trailing) arg in a call to warnx().
Bruce Evans [Thu, 18 Dec 1997 15:27:43 +0000 (15:27 +0000)]
Removed extra (non-trailing) arg in a call to warnx().

27 years agoTypo alert.
James Raynard [Sun, 2 Nov 1997 00:58:39 +0000 (00:58 +0000)]
Typo alert.

27 years agoStatisize usage().
Philippe Charnier [Mon, 27 Oct 1997 07:53:22 +0000 (07:53 +0000)]
Statisize usage().

27 years agoStaticize usage(). Cosmetics.
Philippe Charnier [Fri, 10 Oct 1997 06:27:07 +0000 (06:27 +0000)]
Staticize usage(). Cosmetics.

27 years agoUse err(3) instead of local redefinition. Add rcsid string.
Philippe Charnier [Fri, 10 Oct 1997 06:23:42 +0000 (06:23 +0000)]
Use err(3) instead of local redefinition. Add rcsid string.

27 years agoChanges to support full make parallelism (-j<n>) in the world
Jordan K. Hubbard [Sun, 5 Oct 1997 09:40:24 +0000 (09:40 +0000)]
Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by: <many different folks>
Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>

27 years agoEndless loop.
Wolfram Schneider [Mon, 29 Sep 1997 13:13:51 +0000 (13:13 +0000)]
Endless loop.

$ vipw
[corrupt a line in editor, exit editor]
pwd_mkdb: corrupted entry
pwd_mkdb: at line #2
pwd_mkdb:
/etc/pw.012585: Inappropriate file type or format
re-edit the password file? [y]: n^D^D
[hang]

27 years agoQuieten -Wall.
Mark Murray [Sun, 28 Sep 1997 08:46:12 +0000 (08:46 +0000)]
Quieten -Wall.

27 years agoDo not complain about non existing shell "/nonexistent"
Wolfram Schneider [Sat, 20 Sep 1997 19:59:54 +0000 (19:59 +0000)]
Do not complain about non existing shell "/nonexistent"
Smarter error check if a uid is already in use.

Submitted by: "Eugene Radchenko" <genie@qsar.chem.msu.su>

27 years agoDo not accept empty user names.
Wolfram Schneider [Sat, 20 Sep 1997 18:26:22 +0000 (18:26 +0000)]
Do not accept empty user names.

27 years agoAdd manpage links ypchpass.1, ypchfn.1, ypchsh.1
Wolfram Schneider [Sat, 13 Sep 1997 12:21:25 +0000 (12:21 +0000)]
Add manpage links ypchpass.1, ypchfn.1, ypchsh.1

27 years agoThe parameters to logwtmp should be const char's
Paul Traina [Thu, 4 Sep 1997 22:38:59 +0000 (22:38 +0000)]
The parameters to logwtmp should be const char's

27 years agoUnquote default group in pw.conf.
David Nugent [Mon, 1 Sep 1997 09:33:08 +0000 (09:33 +0000)]
Unquote default group in pw.conf.
PR: 4365
Submitted by: "Andrew L. Moore" <alm@mclink.com>

27 years agoCosmetic changes.
Philippe Charnier [Mon, 1 Sep 1997 06:14:17 +0000 (06:14 +0000)]
Cosmetic changes.

27 years agoRemove login_progok()
Brian Somers [Sun, 31 Aug 1997 20:09:39 +0000 (20:09 +0000)]
Remove login_progok()
Suggested by: guido

27 years agoAdd full support for determining if a user
Brian Somers [Wed, 27 Aug 1997 20:06:20 +0000 (20:06 +0000)]
Add full support for determining if a user
is restricted from running a given program.

27 years agoStop the growing list of shells if /etc/adduser.conf
Wolfram Schneider [Tue, 26 Aug 1997 22:47:51 +0000 (22:47 +0000)]
Stop the growing list of shells if /etc/adduser.conf
was updated.

27 years agoCosmetic: distinguish in diag message between rebuilding and updating
Joerg Wunsch [Sun, 24 Aug 1997 18:23:21 +0000 (18:23 +0000)]
Cosmetic: distinguish in diag message between rebuilding and updating
the database.

PR: 3397
Submitted by: taob@risc.org (Brian Tao)

27 years agoImplement canonical locking protocol
Andrey A. Chernov [Sun, 10 Aug 1997 18:42:39 +0000 (18:42 +0000)]
Implement canonical locking protocol
Suggested by: joerg

27 years agoFix -p switch.
David Nugent [Fri, 1 Aug 1997 15:06:21 +0000 (15:06 +0000)]
Fix -p switch.

27 years agoNologin is also a valid 'invalid' shell
Paul Traina [Thu, 31 Jul 1997 15:25:35 +0000 (15:25 +0000)]
Nologin is also a valid 'invalid' shell

27 years agoModify passwd and chpass to use new AF_LOCAL RPC interface instead of
Bill Paul [Tue, 29 Jul 1997 15:45:36 +0000 (15:45 +0000)]
Modify passwd and chpass to use new AF_LOCAL RPC interface instead of
old kludged-up 'yppasswd_comm' support.

27 years agoDelete dead test code.
Wolfram Schneider [Thu, 24 Jul 1997 17:44:46 +0000 (17:44 +0000)]
Delete dead test code.

27 years ago`cp -r' -> `cp -R'
Wolfram Schneider [Fri, 18 Jul 1997 12:05:43 +0000 (12:05 +0000)]
`cp -r' -> `cp -R'
Option -r is obsolete and buggy.

27 years agogetuid() -> geteuid().
David Nugent [Thu, 17 Jul 1997 08:37:47 +0000 (08:37 +0000)]
getuid() -> geteuid().

27 years agoRemove addgroup/rmgroup -- they are completely replaced by pw(1).
Paul Traina [Sat, 5 Jul 1997 19:12:45 +0000 (19:12 +0000)]
Remove addgroup/rmgroup -- they are completely replaced by pw(1).

Adduser/rmuser stay for now until we get a good user-friendly front-end
for pw.

27 years agoFree a malloc'ed variable before exiting. Compute line number when parsing
Philippe Charnier [Wed, 25 Jun 1997 06:59:55 +0000 (06:59 +0000)]
Free a malloc'ed variable before exiting. Compute line number when parsing
input file, it helps finding errors.
Obtained from: OpenBSD.

27 years agoFix a minor nit in the .Dd macro invocation so that
Steve Price [Mon, 23 Jun 1997 04:52:13 +0000 (04:52 +0000)]
Fix a minor nit in the .Dd macro invocation so that
the revision date is displayed correctly.

27 years agoRemove srandomdev fallback code
Andrey A. Chernov [Sat, 14 Jun 1997 00:27:03 +0000 (00:27 +0000)]
Remove srandomdev fallback code

27 years agoAdd "break" inadvertently removed in previous update.
David Nugent [Fri, 13 Jun 1997 22:26:41 +0000 (22:26 +0000)]
Add "break" inadvertently removed in previous update.
PR: 3820
Submitted by: Joseph Stein <joes@spiritone.com>

27 years agoFixes skeleton directory test-it-is-a-directory logic.
David Nugent [Sat, 24 May 1997 10:41:49 +0000 (10:41 +0000)]
Fixes skeleton directory test-it-is-a-directory logic.
PR: 3666
Reviewed by:
Submitted by: iaint@css.tuu.utas.edu.au
Obtained from:

27 years agoNow I really understand the reason for the style.9 rule about not having
Peter Wemm [Mon, 19 May 1997 10:04:15 +0000 (10:04 +0000)]
Now I really understand the reason for the style.9 rule about not having
visible type names in prototypes in user space headers.  libutil.h
generates warnings with -Wall over the use of "const char *ttyname".
It's lucky it wasn't a #define conflict.
Is a single '_' prefix acceptable? or does it need to be two?

27 years agoFor non-root uids, consider root-owned files also 'secure' unless otherwise
David Nugent [Thu, 15 May 1997 06:06:32 +0000 (06:06 +0000)]
For non-root uids, consider root-owned files also 'secure' unless otherwise
disqualified.

27 years agoMake uu_* const correct.
Brian Somers [Mon, 12 May 1997 10:36:14 +0000 (10:36 +0000)]
Make uu_* const correct.

Suggested by: joerg

27 years agoMF2.2: bugfix in arrayize().
David Nugent [Sun, 11 May 1997 08:07:29 +0000 (08:07 +0000)]
MF2.2: bugfix in arrayize().

27 years agoSummary of login.conf support changes:
David Nugent [Sat, 10 May 1997 18:55:38 +0000 (18:55 +0000)]
Summary of login.conf support changes:

o Incorporated BSDI code and enhancements, better logging for error
  checking (which has been shown to be a problem, and is therefore
  justified, imho); also some minor things we were missing, including
  better quad_t math, which checks for under/overflows.

o setusercontext() now allows user resource limit overrides, but
  does this AFTER dropping root privs, to restrict the user to
  droping hard limits and set soft limits within the kernel's
  allowed user limits.

o umask() only set once, and only if requested.

o add _secure_path(), and use in login.conf to guard against
  symlinks etc. and non-root owned or non-user owned files being
  used. Derived from BSDI contributed code.

o revamped authentication code to BSDI's latest api, which
  includes deleting authenticate() and adding auth_check()
  and a few other functions. This is still marked as depecated
  in BSDI, but is included for completeness. No other source
  in the tree uses this anyway, so it is now bracketed with
  #ifdef LOGIN_CAP_AUTH which is by default not defined. Only
  auth_checknologin() and auth_cat() are actually used in
  module login_auth.c.

o AUTH_NONE definition removed (collided with other includes
  in the tree). [bde]

o BSDI's login_getclass() now accepts a char *classname
  parameter rather than struct passwd *pwd. We now do likewise,
  but added login_getpwclass() for (sort of) backwards
  compatiblity, namely because we handle root as a special
  case for the default class. This will require quite a few
  changes elsewhere in the source tree.

o We no longer pretend to support rlim_t as a long type.

o Revised code formatting to be more bsd-ish style.

27 years agoMove login_cap.h from src/include for easier maintenance with
David Nugent [Sat, 10 May 1997 12:49:30 +0000 (12:49 +0000)]
Move login_cap.h from src/include for easier maintenance with
related files.

27 years agoChange "no" answer to "default" for login class, because "no" class
Andrey A. Chernov [Thu, 1 May 1997 23:34:25 +0000 (23:34 +0000)]
Change "no" answer to "default" for login class, because "no" class
can exists and "default" class is really equal to empty class.

27 years agoAllow "no" answer on login class prompt override non-empty
Andrey A. Chernov [Thu, 1 May 1997 23:23:06 +0000 (23:23 +0000)]
Allow "no" answer on login class prompt override non-empty
/etc/adduser.conf defaultclass with empty one

27 years ago1. Deal with login classes now
Andrey A. Chernov [Thu, 1 May 1997 22:55:58 +0000 (22:55 +0000)]
1. Deal with login classes now
2. Turn on send_message by default for security reasons (mailbox
must be pre-created)

27 years agoVariable name typo.
Wolfram Schneider [Wed, 2 Apr 1997 14:34:57 +0000 (14:34 +0000)]
Variable name typo.

Reviewed by: Guy Helmer <ghelmer@cs.iastate.edu
Submitted by: Paul Sandys <myj@nyct.net>

27 years agoRemove the syslog stuff, and allow various return values
Brian Somers [Mon, 31 Mar 1997 22:51:00 +0000 (22:51 +0000)]
Remove the syslog stuff, and allow various return values
in uu_lock().  Add uu_lockerr() for turning the results of
uu_lock into something printable.  Remove bogus section in man page
about race conditions allowing both processes to get the lock.
Include libutil.h and use uu_lock() correctly  where it should.

Suggested by: ache@freebsd.org

27 years agoMove uucplock into libutil and create a manual page.
Brian Somers [Sun, 30 Mar 1997 12:12:20 +0000 (12:12 +0000)]
Move uucplock into libutil and create a manual page.

27 years agoFix for PR #3141: check for NULL before strdup()ing pw->pw_class.
Bill Paul [Sat, 29 Mar 1997 20:29:12 +0000 (20:29 +0000)]
Fix for PR #3141: check for NULL before strdup()ing pw->pw_class.
(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.

27 years agocompare return value from getopt against -1 rather than EOF, per the final
Warner Losh [Sat, 29 Mar 1997 04:34:07 +0000 (04:34 +0000)]
compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.

27 years agoInitialize RNG only once
Andrey A. Chernov [Mon, 24 Mar 1997 15:09:41 +0000 (15:09 +0000)]
Initialize RNG only once
Use srandomdev() now

27 years agoFix srandom arg according to Lite2
Andrey A. Chernov [Tue, 11 Mar 1997 14:11:43 +0000 (14:11 +0000)]
Fix srandom arg according to Lite2

27 years agoSupport comments in password database (/etc/master.passwd).
Wolfram Schneider [Sun, 9 Mar 1997 12:21:45 +0000 (12:21 +0000)]
Support comments in password database (/etc/master.passwd).

Comments in group database (/etc/group) are currently not
supported - adduser silently delete blank lines and comments.

27 years agoCleaned up some messages, added a check to remove a leftover popd file
Wolfram Schneider [Sat, 8 Mar 1997 18:04:45 +0000 (18:04 +0000)]
Cleaned up some messages, added a check to remove a leftover popd file
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)

27 years agoTypo fix 'and' -> 'an'.
Daniel O'Callaghan [Tue, 4 Mar 1997 07:55:43 +0000 (07:55 +0000)]
Typo fix 'and' -> 'an'.

This is a 2.2 candidate.

27 years agoBack out MAXLOGNAME fix, Bruce points that copyinstr require NUL
Andrey A. Chernov [Mon, 3 Mar 1997 07:59:54 +0000 (07:59 +0000)]
Back out MAXLOGNAME fix, Bruce points that copyinstr require NUL

27 years agoFix MAXLOGNAME usage, the code has wrong assumption that
Andrey A. Chernov [Sun, 2 Mar 1997 21:36:17 +0000 (21:36 +0000)]
Fix MAXLOGNAME usage, the code has wrong assumption that
it must be NUL terminated

27 years ago"infinity" check was missed from login_getcapsize(), add it
Andrey A. Chernov [Thu, 27 Feb 1997 00:24:05 +0000 (00:24 +0000)]
"infinity" check was missed from login_getcapsize(), add it

One manifestation of this bug: all networking users have coredumpsize=0

27 years agoIf an administrator somehow manages to break the hardlinks
Mike Pritchard [Wed, 26 Feb 1997 05:31:52 +0000 (05:31 +0000)]
If an administrator somehow manages to break the hardlinks
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>

27 years agoRevert $FreeBSD$ to $Id$
Peter Wemm [Sat, 22 Feb 1997 19:58:13 +0000 (19:58 +0000)]
Revert $FreeBSD$ to $Id$

27 years agoRevert $FreeBSD$ to $Id$
Peter Wemm [Sat, 22 Feb 1997 16:15:28 +0000 (16:15 +0000)]
Revert $FreeBSD$ to $Id$

27 years agoRevert $FreeBSD$ to $Id$
Peter Wemm [Sat, 22 Feb 1997 15:12:41 +0000 (15:12 +0000)]
Revert $FreeBSD$ to $Id$

27 years agoYet another formatting consistency check.
David Nugent [Fri, 7 Feb 1997 11:31:42 +0000 (11:31 +0000)]
Yet another formatting consistency check.

27 years agoFix useage of MAXLOGNAME to include terminating NUL, by using
David Nugent [Fri, 7 Feb 1997 10:58:13 +0000 (10:58 +0000)]
Fix useage of MAXLOGNAME to include terminating NUL, by using
max(MAXLOGNAME-1,UT_NAMESIZE).
Tidy up "pretty" printing format for longer usernames.

27 years agoFix free()ing block twice, remove unused function.
David Nugent [Thu, 30 Jan 1997 03:37:13 +0000 (03:37 +0000)]
Fix free()ing block twice, remove unused function.

27 years agoFix typo .->, for default separators in login_getcaplist().
David Nugent [Wed, 29 Jan 1997 06:50:00 +0000 (06:50 +0000)]
Fix typo .->, for default separators in login_getcaplist().

27 years agoCompleted fixes with login_getcapsize().
David Nugent [Wed, 29 Jan 1997 06:31:42 +0000 (06:31 +0000)]
Completed fixes with login_getcapsize().

27 years ago1) Fixed bug in free()ing internal string/array where
David Nugent [Wed, 29 Jan 1997 06:06:32 +0000 (06:06 +0000)]
1) Fixed bug in free()ing internal string/array where
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

28 years agoSort cross references.
Wolfram Schneider [Mon, 20 Jan 1997 00:03:00 +0000 (00:03 +0000)]
Sort cross references.

28 years agoSort cross references.
Wolfram Schneider [Wed, 15 Jan 1997 23:25:55 +0000 (23:25 +0000)]
Sort cross references.

28 years agoMake the long-awaited change from $Id$ to $FreeBSD$
Jordan K. Hubbard [Tue, 14 Jan 1997 07:20:47 +0000 (07:20 +0000)]
Make the long-awaited change from $Id$ to $FreeBSD$

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.

28 years agoVarious bugfixes.
David Nugent [Tue, 7 Jan 1997 16:28:12 +0000 (16:28 +0000)]
Various bugfixes.

28 years agoCommit the right version this time. :-)
David Nugent [Tue, 7 Jan 1997 13:32:04 +0000 (13:32 +0000)]
Commit the right version this time. :-)

28 years agoFix for login_getclass(NULL) case.
David Nugent [Tue, 7 Jan 1997 13:29:21 +0000 (13:29 +0000)]
Fix for login_getclass(NULL) case.

28 years agoAdds optional NIS passwd file updating and optionally rebuilding
David Nugent [Sun, 5 Jan 1997 07:15:37 +0000 (07:15 +0000)]
Adds optional NIS passwd file updating and optionally rebuilding
NIS maps.

Suggested by: Peter Wemm

28 years agoRemove duplicated #include.
David Nugent [Sun, 5 Jan 1997 04:54:24 +0000 (04:54 +0000)]
Remove duplicated #include.

28 years agoFix reference /etc/acct/pw.conf -> /etc/pw.conf.
David Nugent [Sun, 5 Jan 1997 04:05:22 +0000 (04:05 +0000)]
Fix reference /etc/acct/pw.conf -> /etc/pw.conf.

Pointed-Out-By: Peter Wemm.
28 years agoLibrary functions relating to the login class capabilities database,
David Nugent [Sat, 4 Jan 1997 16:50:08 +0000 (16:50 +0000)]
Library functions relating to the login class capabilities database,
including manpages.
See also login_cap.h.