]> git.cameronkatri.com Git - pw-darwin.git/log
pw-darwin.git
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.

28 years agoImplemented /home -> /usr/home symlink kludge.
David Nugent [Fri, 3 Jan 1997 04:42:18 +0000 (04:42 +0000)]
Implemented /home -> /usr/home symlink kludge.
If home basedir would be created in the root partition, create
it under /usr instead, and symlink /basedir -> /usr/basedir.

28 years ago1) Base home directory is created if it does not already exist if
David Nugent [Mon, 30 Dec 1996 11:52:34 +0000 (11:52 +0000)]
1) Base home directory is created if it does not already exist if
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.

28 years agoAllow dash `-' (except for first char) and underscore `_' in usernames.
Wolfram Schneider [Sun, 29 Dec 1996 21:56:31 +0000 (21:56 +0000)]
Allow dash `-' (except for first char) and underscore `_' in usernames.

pointed out by: max

28 years agoFinally document the interfaces found in libutil. While being here,
Joerg Wunsch [Sun, 29 Dec 1996 18:30:42 +0000 (18:30 +0000)]
Finally document the interfaces found in libutil.  While being here,
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. :)

28 years agoremove group limits checks
Wolfram Schneider [Sun, 29 Dec 1996 15:06:52 +0000 (15:06 +0000)]
remove group limits checks

28 years agoincrease username length limit to 16
Wolfram Schneider [Sun, 29 Dec 1996 15:05:19 +0000 (15:05 +0000)]
increase username length limit to 16

28 years agoCorrect file modes on updated /etc/skeykeys.
David Nugent [Mon, 23 Dec 1996 02:27:29 +0000 (02:27 +0000)]
Correct file modes on updated /etc/skeykeys.

28 years agoMinor internal mdoc usage changes.
Mike Pritchard [Mon, 23 Dec 1996 00:57:46 +0000 (00:57 +0000)]
Minor internal mdoc usage changes.

28 years agoMinor style fixes.
Mike Pritchard [Mon, 23 Dec 1996 00:10:22 +0000 (00:10 +0000)]
Minor style fixes.

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.

28 years ago1) 200 users per group limitation removed and pw
David Nugent [Sat, 21 Dec 1996 15:35:45 +0000 (15:35 +0000)]
1) 200 users per group limitation removed and pw
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.

28 years agoBugfix (cosmetic) for output of generated passwords.
David Nugent [Fri, 20 Dec 1996 10:45:39 +0000 (10:45 +0000)]
Bugfix (cosmetic) for output of generated passwords.

28 years agoAllow 8-bit characters in the passwd gecos field, and adds a paragraph
David Nugent [Thu, 19 Dec 1996 15:22:45 +0000 (15:22 +0000)]
Allow 8-bit characters in the passwd gecos field, and adds a paragraph
to the mangpage explaining the consequences (to be updated at a later
date after login class conf support is added).

28 years agoChanges to password generator: fallback to MD5 generator disabled
David Nugent [Tue, 17 Dec 1996 14:15:35 +0000 (14:15 +0000)]
Changes to password generator: fallback to MD5 generator disabled
(/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.

28 years agoSubmitted by: proff@iq.org
David Nugent [Tue, 17 Dec 1996 01:43:30 +0000 (01:43 +0000)]
Submitted by: proff@iq.org
Minor fix for security patch.

28 years agoReviewed by: davidn@blaze.net.au
David Nugent [Mon, 16 Dec 1996 17:37:58 +0000 (17:37 +0000)]
Reviewed by: davidn@blaze.net.au
Submitted by: proff@iq.org
Security patch for better random password generation.

28 years agoUpdate from David, reflecting Wolfram's wishes regarding limitation of
Joerg Wunsch [Wed, 11 Dec 1996 15:10:47 +0000 (15:10 +0000)]
Update from David, reflecting Wolfram's wishes regarding limitation of
the allowable character set.

Submitted by: David Nugent

28 years agoMerg-o-matic.
Joerg Wunsch [Wed, 11 Dec 1996 00:07:19 +0000 (00:07 +0000)]
Merg-o-matic.

28 years agoCopyright update by the author, to be more in line with our sample
Joerg Wunsch [Tue, 10 Dec 1996 23:59:04 +0000 (23:59 +0000)]
Copyright update by the author, to be more in line with our sample
copyright.

Submitted by: David Nugent

28 years agoMerge from the vendor-branch.
Joerg Wunsch [Tue, 10 Dec 1996 00:21:28 +0000 (00:21 +0000)]
Merge from the vendor-branch.

28 years agoUpgrade from the author, reflecting all my wishes resulting out of the
Joerg Wunsch [Mon, 9 Dec 1996 23:55:27 +0000 (23:55 +0000)]
Upgrade from the author, reflecting all my wishes resulting out of the
sysinstall use of this tool (plus some bug fixes).

2.2 candidate...

Submitted by: David Nugent <davidn@nserver.usn.blaze.net.au>

28 years agoMinor spelling/mdoc/style fixes.
Mike Pritchard [Mon, 9 Dec 1996 16:44:13 +0000 (16:44 +0000)]
Minor spelling/mdoc/style fixes.

28 years agopw(8) -- a backend utility to manage the user and group databases.
Joerg Wunsch [Mon, 9 Dec 1996 14:05:35 +0000 (14:05 +0000)]
pw(8) -- a backend utility to manage the user and group databases.

sysinstall's new User&group menu will use it, hence it's a 2.2
candidate despite of providing new functionality.

Submitted by: David L. Nugent, <davidn@blaze.net.au>

28 years agoExpand username limit to 16
Andrey A. Chernov [Sat, 7 Dec 1996 21:25:12 +0000 (21:25 +0000)]
Expand username limit to 16

28 years agoDon't show on the screen just securely entered password
Andrey A. Chernov [Wed, 27 Nov 1996 22:04:55 +0000 (22:04 +0000)]
Don't show on the screen just securely entered password
(in /etc/adduser.message text)
Sending password by E-mail on local machine is joke in any case

28 years agodo not print 'illegal shell' for pseudo users news and xten
Wolfram Schneider [Wed, 20 Nov 1996 01:07:46 +0000 (01:07 +0000)]
do not print 'illegal shell' for pseudo users news and xten

Submitted by:  kuku

28 years agoinstall rmuser, addgroup, rmgroup in /usr/sbin
Wolfram Schneider [Sun, 17 Nov 1996 03:51:33 +0000 (03:51 +0000)]
install rmuser, addgroup, rmgroup in /usr/sbin

28 years agopw_scan() was being used to convert a string into a struct passwd, with
Peter Wemm [Fri, 15 Nov 1996 17:36:20 +0000 (17:36 +0000)]
pw_scan() was being used to convert a string into a struct passwd, with
an auto stack variable that was about to disappear.  It broke with some
nis passwd changes because of a gethostbyname() call that uses a fair bit
of stack..  This was a timebomb waiting to go off at any time and could
have been causing subtle corruption for a while.

AARGH!!

This is HIGHLY reccomended for 2.2 and presumably 2.1.6

28 years agomanpages for rmgroup(8) and addgroup(8)
Wolfram Schneider [Mon, 4 Nov 1996 17:21:11 +0000 (17:21 +0000)]
manpages for rmgroup(8) and addgroup(8)

28 years agormgroup - delete a Unix group
Wolfram Schneider [Wed, 30 Oct 1996 20:58:47 +0000 (20:58 +0000)]
rmgroup - delete a Unix group

usage: rmgroup group