summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix removal of at jobs.Guy Helmer2001-07-231-24/+66
| | | | | | PR: bin/23052 Submitted by: Mike Sellenschuetter <mike.sellenschuetter@bankofamerica.com> MFC after: 1 week
* remove emalloc,ecalloc,erealloc,estrdupAssar Westerlund2001-07-231-4/+0
|
* add ecalloc, emalloc, erealloc, estrdup - versions of the e-lessAssar Westerlund2001-07-221-0/+4
| | | | functions that exit instead of failing
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-3/+1
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove GCC'isms in CFLAGS.David E. O'Brien2001-07-201-1/+0
|
* Generate a bigger salt. This is necessary for blowfish to workDima Dorfman2001-07-191-1/+1
| | | | | | | properly, and doesn't hurt the other algorithms. PR: 28991 Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp>
* Remove whitespace at EOL.Dima Dorfman2001-07-155-65/+65
|
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-093-5/+0
|
* Fix the type of the NULL arg to execl()Brian Somers2001-07-092-4/+4
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Don't override the default BINMODE.Ruslan Ermilov2001-07-051-2/+0
| | | | Submitted by: bde
* Fix a harmless format string bogon and mark a function as __printflike().Kris Kennaway2001-07-052-2/+2
| | | | | | | There is still one instance of non-constant format string use inside that function, but it's hard to fix. MFC after: 1 week
* Include missing header files which define functions for which gcc hasDima Dorfman2001-06-241-0/+1
| | | | builtints (e.g., exit, strcmp).
* CND has been unused for two years, and RND has been unused for fiveDima Dorfman2001-06-191-1/+1
| | | | | | | years; remove them from CFLAGS. PR: 23712 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
* Fix the rmuser script to correctly determine if a user does not exist.Adrian Chadd2001-05-021-1/+1
| | | | PR: 26674
* Extend adduser to create "locked" accounts. Adduser can now lock anAdrian Chadd2001-05-021-15/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | account at creation, create accounts with a "*" password (so you can use alternate authentication schemes without fearing a "default" password biting you later), and blank passwords. Yes, adduser could create a blank password account, but this makes it slightly more difficult to shoot yourself in the foot. The /etc/adduser.conf entries are: # use password-based authentication for new users # defaultusepassword = "yes" | "no" defaultusepassword = "yes" # enable account password at creation # (the password will be prepended with a star if the account isn't enabled) # defaultenableaccount = "yes" | "no" defaultenableaccount = "yes" # allow blank passwords # defaultemptypassword = "yes" | "no" defaultemptypassword = "no" Requested by: alfred Reviewed by: alfred
* Don't pass NULL to the %s format.Dima Dorfman2001-04-221-2/+6
| | | | Reviewed by: kris
* By popular demand, have adduser preserve comments at the top of theDoug Barton2001-04-171-2/+10
| | | | | | group file. Because of the way the group sorting works while printing out the new file it's not possible at this time to restore comments in other locations, but at least they won't just disappear altogether.
* Add a more useful solution to the problem of password files with more thanDoug Barton2001-04-151-3/+14
| | | | | | | | | | one user who differs only by case. The other perl tools assume (or enforce) the all lowercase requirement, therefore making the search through master.passwd case insensitive seemed a reasonable optimization, IMO. I understand, although I do not sympathize with, the argument that someone might want to do this on purpose, and might subsequently want to use the wrong tool for the job. So, this fix should hopefully satisfy both camps.
* Forced commit to point out that PR 25961 was actually originated byDoug Barton2001-04-150-0/+0
| | | | Dan Langille <dan@freebsddiary.org>.
* Rev 1.11 introduced a bug where the processing became case insensative forDavid E. O'Brien2001-04-151-1/+1
| | | | | | | username to rm. PR: 25961 Submitted by: Linh Pham <lplist@closedsrc.org>
* beforeinstall -> SCRIPTS.Ruslan Ermilov2001-04-071-8/+2
|
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-262-4/+2
| | | | - MAN[1-9] -> MAN.
* o Slap some "_"'s in front of variable names relating to extattr functions,Robert Watson2001-03-221-3/+3
| | | | | | so as not to pollute application namespace. Submitted by: bde
* Use %c for expire/change datesAndrey A. Chernov2001-03-211-2/+2
|
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++Robert Watson2001-03-191-2/+3
| | | | | | | | reserved word, causing breakage when a C++ program included libutil.h This change will be propagated elsewhere shortly. Submitted by: jkh Obtained from: TrustedBSD Project
* mdoc(7) police: simplify bogus ``.Ql Fl'' constructs.Ruslan Ermilov2001-03-161-33/+33
|
* o To support new EA interface with explicit namespaces, introduce twoRobert Watson2001-03-151-0/+2
| | | | | | | | | | | utility functions which convert between string namespace names and numeric constants used by the interface. Right now, two namespaces are supported, EXTATTR_NAMESPACE_SYSTEM ("system") and EXTATTR_NAMESPACE_USER ("user"). These functions are used by various userland EA utilities, rather than hard coding the routines all over the place. Obtained from: TrustedBSD Project
* Document the lock and unlock commands. This fixes a segmentation fault.Dima Dorfman2001-03-141-0/+10
| | | | | PR: 25187 Approved by: nik
* Document the lock and unlock commands.Dima Dorfman2001-03-141-0/+32
| | | | | PR: 25187 Approved by: nik
* Use the right format string for printing ULONG_MAX.David Malone2001-03-051-2/+2
|
* Switch from using rand() or random() to a stronger, more appropriate PRNGKris Kennaway2001-03-051-19/+2
| | | | | | (random() or arc4random()) Reviewed by: bde
* Fix typo: seperate -> separate.Jeroen Ruigrok van der Werven2001-02-061-2/+2
| | | | | | Seperate does not exist in the english language. Submitted to look at by: kris
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-012-17/+21
|
* Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-162-2/+2
|
* Fix typo: s/memberhip/membership/Peter Wemm2001-01-021-1/+1
| | | | Submitted by: Peter Avalos <pavalos@theshell.com>
* Convert to use the <sys/queue.h> macros rather than fiddling with the queueBen Smithurst2000-12-292-4/+4
| | | | | | structure internals. Reviewed by: markm
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-272-1/+3
|
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-191-1/+1
|
* Make the comment generated in /etc/pw.conf match realityDoug Barton2000-12-181-1/+1
| | | | | PR: misc/23451 Submitted by: Ben Rosengart, ben@narcissus.net
* * Fix a long line that I introduced in the last commitDoug Barton2000-12-171-2/+3
| | | | | * Backslash escape non-alphanumeric chars in the login name so that perl doesn't choke on things like '$'.
* mdoc(7) police: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-141-1/+1
|
* Add `_PATH_DEVZERO'.David E. O'Brien2000-12-091-1/+1
| | | | Use _PATH_* where where possible.
* Use correct macro for path nameAlexey Zelkin2000-11-221-1/+1
| | | | PR: docs/13218
* If a user is in the database, rmuser ought to be able to remove them.Doug Barton2000-11-211-42/+11
| | | | | | | | Address this by using getpwnam(), thus killing several birds with the same stone. My fix is slightly more aggressive than the originators. :) PR: misc/22278
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-203-17/+17
|
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-5/+5
|
* Avoid use of direct troff requests in mdoc(7) manual pages.Ruslan Ermilov2000-11-101-12/+2
|
* Added PROPERTY_MAX_VALUE and PROPERTY_MAX_NAME defines to libutil.h soMurray Stokely2000-11-081-0/+3
| | | | | | | that applications know how large of a buffer they must allocate before calling property_find(). Also added a $FreeBSD$ tag while I'm here. Approved by: jkh
* Fix problems people were having with large -O levels with GCC andBrian Feldman2000-10-271-7/+6
| | | | | | | | | | getting libutil/libcrypt to work properly. I've determined that GCC thinks it can inline all functions, including weak-symboled ones, if it feels like it. Create a new stub.c and move any stubs there to prevent inlining. Thanks to jdp and William S. Duncanson for helping me finally find the problem.