summaryrefslogtreecommitdiffstats
path: root/adduser
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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.
* 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-261-1/+1
| | | | - MAN[1-9] -> MAN.
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-13/+13
|
* Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-161-1/+1
|
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-272-1/+3
|
* * 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
|
* 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-202-2/+2
|
* Avoid use of direct troff requests in mdoc(7) manual pages.Ruslan Ermilov2000-11-101-12/+2
|
* Complete migration of aliases file to /etc/mail/aliases.Gregory Neil Shapiro2000-08-131-1/+1
| | | | | The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster have been contacted so those may be updated as well.
* Un-botch my botched reduction in permitted characters in the permittedMark Newton2000-03-141-1/+1
| | | | | | | username check which resulted from my attempt to expand them. PR: bin/17372 Reviewed by: sheldonh
* Fix the case where username validity test would incorrectly fail ifMark Newton2000-03-141-1/+1
| | | | | | the specified username contained uppercase alphabetics. PR: bin/17372
* Remove more single-space hard sentence breaks.Sheldon Hearn2000-03-061-1/+2
|
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-6/+12
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* $Id$ -> $FreeBSD$Peter Wemm1999-08-285-5/+5
|
* Remove references to the non-existent addgroup(8) and rmgroup(8)Nik Clayton1999-07-272-6/+2
| | | | | | | commands. PR: docs/12659 Submitted by: Mark Diekhans <markd@Grizzly.COM>
* Grammar and spelling fixesKris Kennaway1999-06-301-5/+5
| | | | Obtained from: OpenBSD
* Added myself as maintainer.Wolfram Schneider1999-02-091-1/+3
|
* Print yyyy/mm/dd in /var/log/adduser, instead of yy/mm/ddDaniel O'Callaghan1999-01-151-1/+2
| | | | Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* Removing -batch option from adduser. Adduser was written asWolfram Schneider1998-08-172-106/+8
| | | | | | 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.
* Always ask for homedir.Wolfram Schneider1998-06-071-11/+38
| | | | | PR: 6754 Submitted by: uhlar@netlab.sk
* MF22: Remove confusing commaTim Vanderhoek1998-03-181-2/+2
|
* Clarify the -batch arguments.Steve Price1998-02-141-1/+5
| | | | | PR: 5677 Submitted by: Adrian Filipi-Martin <adrian@virginia.edu>
* Typo.Wolfram Schneider1998-02-021-2/+2
|
* Rename the pwd_mkdb(8) option '-c' to '-C' for better compatiblityWolfram Schneider1998-01-101-2/+2
| | | | with BSD/OS.
* Small bugfix: store $uid_start instead hard coded value 1000Wolfram Schneider1997-12-241-2/+2
| | | | in /etc/adduser.conf.
* Typo alert.James Raynard1997-11-021-2/+2
|
* Do not complain about non existing shell "/nonexistent"Wolfram Schneider1997-09-201-3/+6
| | | | | | Smarter error check if a uid is already in use. Submitted by: "Eugene Radchenko" <genie@qsar.chem.msu.su>
* Do not accept empty user names.Wolfram Schneider1997-09-201-2/+2
|
* Cosmetic changes.Philippe Charnier1997-09-012-40/+47
|
* Stop the growing list of shells if /etc/adduser.confWolfram Schneider1997-08-261-4/+4
| | | | was updated.
* Nologin is also a valid 'invalid' shellPaul Traina1997-07-311-2/+2
|
* Delete dead test code.Wolfram Schneider1997-07-241-13/+1
|
* `cp -r' -> `cp -R'Wolfram Schneider1997-07-181-2/+2
| | | | Option -r is obsolete and buggy.
* Remove addgroup/rmgroup -- they are completely replaced by pw(1).Paul Traina1997-07-055-362/+3
| | | | | Adduser/rmuser stay for now until we get a good user-friendly front-end for pw.
* Fix a minor nit in the .Dd macro invocation so thatSteve Price1997-06-233-6/+6
| | | | the revision date is displayed correctly.
* Change "no" answer to "default" for login class, because "no" classAndrey A. Chernov1997-05-011-3/+3
| | | | can exists and "default" class is really equal to empty class.
* Allow "no" answer on login class prompt override non-emptyAndrey A. Chernov1997-05-011-2/+3
| | | | /etc/adduser.conf defaultclass with empty one
* 1. Deal with login classes nowAndrey A. Chernov1997-05-012-14/+54
| | | | | 2. Turn on send_message by default for security reasons (mailbox must be pre-created)
* Variable name typo.Wolfram Schneider1997-04-021-2/+2
| | | | | Reviewed by: Guy Helmer <ghelmer@cs.iastate.edu Submitted by: Paul Sandys <myj@nyct.net>
* 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)
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-229-9/+9
|
* Sort cross references.Wolfram Schneider1997-01-204-5/+5
|
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-149-9/+9
| | | | | | | | 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.