Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | style(9) (verified no object changes) | Sean Farley | 2008-02-23 | 2 | -3/+2 |
| | | | | | Approved by: wes (mentor) MFC after: 5 days | ||||
* | Add the -M command-line option, which will set home directory permissions. | Mike Makonnen | 2008-01-27 | 2 | -1/+44 |
| | | | | | | | | Works both in interactive or batch mode. This is a heavily modified version of the patch submitted in the PR. PR: bin/105060 MFC after: 1 week | ||||
* | Clarify in what formats the grouplist for the '-G' switch may be accepted. | Mike Makonnen | 2008-01-25 | 1 | -1/+1 |
| | | | | Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> | ||||
* | Constify the first argument to expand_number() so that it can | John Birrell | 2007-11-18 | 1 | -1/+1 |
| | | | | be called with a const without the compiler grisling. | ||||
* | Allow adding a user(s) to additional groups in batch mode as well. | Mike Makonnen | 2007-10-20 | 2 | -1/+2 |
| | | | | | Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> (modulo minor changes) MFC after: 2 weeks | ||||
* | The POP daemon's temporary mail file has a leading dot ('.'). This was | Mike Makonnen | 2007-10-19 | 1 | -3/+3 |
| | | | | | | lost in the shell script rewrite of the rmuser command. Submitted by: Ian Smith <smithi@nimnet.asn.au> | ||||
* | Implement expand_number(3), which is the opposite of humanize_number(3), ie. | Pawel Jakub Dawidek | 2007-09-01 | 1 | -0/+1 |
| | | | | | | | | | | a number in human-readable form is converted to int64_t, for example: 123b -> 123 10k -> 10240 16G -> 17179869184 First version submitted by: Eric Anderson <anderson@freebsd.org> Approved by: re (bmah) | ||||
* | Back out previous commit until I figure out why my regression test fails. | Dag-Erling Smørgrav | 2007-08-03 | 1 | -7/+4 |
| | | | | Approved by: re (kensmith) | ||||
* | Use fcntl(2)-style locks instead of less-portable flock(2)-style locks. | Dag-Erling Smørgrav | 2007-08-03 | 1 | -4/+7 |
| | | | | Approved by: re (kensmith) | ||||
* | Update some comments, mostly regarding LOGIN_MECLASS and ~/.login_conf. | Yaroslav Tykhiy | 2007-06-14 | 1 | -8/+18 |
| | |||||
* | Nit: avoid shadowing truncate(2) with a local variable. | Dag-Erling Smørgrav | 2007-05-23 | 1 | -3/+3 |
| | |||||
* | Fix stupid braino in previous commit. | Dag-Erling Smørgrav | 2007-05-23 | 1 | -1/+1 |
| | |||||
* | If (flags & O_TRUNC), don't truncate the file until we've successfully | Dag-Erling Smørgrav | 2007-05-23 | 1 | -1/+11 |
| | | | | | | locked it. MFC after: 3 weeks | ||||
* | Well gag me with a spoon... I'm so used to working at high WARNS levels | Dag-Erling Smørgrav | 2007-05-10 | 2 | -1/+5 |
| | | | | that I make stupid fundamental mistakes like this when I don't. | ||||
* | Remove superfluous unexpanded RCS tag. | Dag-Erling Smørgrav | 2007-05-10 | 1 | -2/+0 |
| | |||||
* | DTRT when O_NONBLOCK is specified. | Dag-Erling Smørgrav | 2007-05-10 | 1 | -4/+7 |
| | | | | MFC after: 3 weeks | ||||
* | I'm tired of seeing this done incorrectly and non-portably, so add a | Dag-Erling Smørgrav | 2007-05-10 | 2 | -0/+92 |
| | | | | | | flopen(3) function which reliably opens and locks a file. MFC after: 3 weeks | ||||
* | Bump .Dd for r1.5; fix grammatical problem. | Ceri Davies | 2007-04-12 | 1 | -2/+2 |
| | |||||
* | Specify the correct way to modify this file, and warn that the | Mike Makonnen | 2007-04-12 | 1 | -1/+18 |
| | | | | | | | user should not depend on the internal variables documented in this man page. MFC After: 2 weeks | ||||
* | There are a couple of bugs in rev. 1.27: | Mike Makonnen | 2007-04-12 | 1 | -7/+2 |
| | | | | | | | | | | | | | | | | | | | 1) The man page should describe the code, not the other way around. 2) Internal variables should not be documented or exposed, except in controlled circumstances (i.e. - That's what the -C flag is for). The variable should have been saved to the config file in save_config(). 3) The next available userid doesn't get automatically updated. The end-result is the same (user gets added with the correct uid), but in an interactive session the default uid doesn't get updated in the display. So, o Use the uidstart variable instead of uuid (bug #3) o Actually save the variable to adduser.conf (bug #2) o (bug #1 to be fixed in an upcomming commit to adduser.conf.5) MFC After: 2 weeks | ||||
* | Errm... I don't see how rev. 1.26 could have possibly worked or been tested. | Mike Makonnen | 2007-04-12 | 1 | -12/+13 |
| | | | | | | | Fix it for real. Submitted by: Johnny Lee <johnny@bmtk.com> MFC After: 2 weeks | ||||
* | Do the right thing with symlinks in the skeleton directory. | Lukas Ertl | 2007-03-30 | 1 | -1/+7 |
| | | | | PR: bin/63659 | ||||
* | Accept passwords which contain whitespace. | Lukas Ertl | 2007-03-30 | 1 | -1/+1 |
| | | | | PR: bin/53434 | ||||
* | Add home directory creation mode to pw.conf(5) and be a bit | Lukas Ertl | 2007-03-30 | 6 | -9/+38 |
| | | | | more specific about the effect of the current umask on -M. | ||||
* | Add -M argument to usage() output. | Lukas Ertl | 2007-03-30 | 1 | -0/+2 |
| | |||||
* | Introduce the new option -M to allow to set the permissions of | Lukas Ertl | 2007-03-26 | 3 | -8/+31 |
| | | | | | | | | the user's newly created home directory. If omitted, it's derived from the current umask. PR: bin/16880, bin/83253 (partially), bin/104248 MFC in: 1 month | ||||
* | Check if the new user already exists right after entering the | Lukas Ertl | 2007-03-26 | 1 | -2/+8 |
| | | | | username instead of watching the final call to pw(8) fail. | ||||
* | Remove California Regent's clause 3, per letter | Warner Losh | 2007-01-09 | 1 | -4/+0 |
| | |||||
* | Per Regents of the University of Calfornia letter, remove advertising | Warner Losh | 2007-01-09 | 2 | -8/+0 |
| | | | | | | clause. # If I've done so improperly on a file, please let me know. | ||||
* | Flush my typo fix queue for this directory. | Ceri Davies | 2006-12-05 | 2 | -2/+2 |
| | |||||
* | Fix typos. | Ceri Davies | 2006-12-05 | 2 | -3/+3 |
| | |||||
* | Better mdoc(7). Bump doc date. | Tom Rhodes | 2006-10-09 | 1 | -3/+3 |
| | | | | Kicked by: ru | ||||
* | Note the naming convention of files in share/skel and explain the "dot" | Tom Rhodes | 2006-10-09 | 1 | -0/+8 |
| | | | | | | prefix is removed. PR: 103828 | ||||
* | Markup fixes. | Ruslan Ermilov | 2006-09-29 | 1 | -2/+2 |
| | |||||
* | Fix bug introduced in rev 1.23: | Dmitry Morozovsky | 2006-09-25 | 1 | -1/+6 |
| | | | | | | | | pw_equal does not check crypted password field, so one cannot change crypted password keeping other fields intact. Approved by: des MCF after: 3 days | ||||
* | o Fix groupadd getopt line and make 'pw groupadd -o' work. | Maxim Konovalov | 2006-09-18 | 1 | -1/+1 |
| | | | | | | PR: bin/100684 Submitted by: Devon H. O'Dell MFC after: 3 weeks | ||||
* | Minor comment fix. | Thomas Quinot | 2006-09-08 | 1 | -1/+1 |
| | |||||
* | (pw_copy): Handle the case of a malformed line in master.passwd | Thomas Quinot | 2006-09-04 | 1 | -2/+11 |
| | | | | | | | | (copy it silently, do not dereference NULL pointer). PR: bin/102848 Reviewed by: security-officer (cperciva) MFC after: 1 week | ||||
* | Add adding_user.8 to SEE ALSO, note that usernames may contain any character | Tom Rhodes | 2006-06-07 | 1 | -3/+6 |
| | | | | | | but not being with a hyphen, similar to adding_user.8. PR: 35732 | ||||
* | Reimplementation of world/kernel build options. For details, see: | Ruslan Ermilov | 2006-03-17 | 1 | -4/+6 |
| | | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine) | ||||
* | POSIXed strtoll() (and ours one too) can set errno to EINVAL, so check | Andrey A. Chernov | 2006-03-14 | 1 | -1/+1 |
| | | | | | | it first. Approved by: andre | ||||
* | Import of OpenBSD's strtonum(3) which is a nicer version of strtoll(3) | Andre Oppermann | 2006-03-14 | 1 | -0/+68 |
| | | | | | | | | providing proper error checking and other improvements. Obtained from: OpenBSD Requested by: flz (to port Open[BGP|OSPF]D) MFC after: 3 days | ||||
* | Add utility functions for checking if a given kernel module is loaded, | Dag-Erling Smørgrav | 2006-02-18 | 1 | -0/+5 |
| | | | | and loading it. | ||||
* | Honour the "uuid" directive in adduser.conf | Matteo Riondato | 2006-01-22 | 1 | -1/+4 |
| | | | | | | PR: conf/87914 Approved by: philip (mentor) MFC after: 3 days | ||||
* | Add a family of functions for reliable pidfiles handling. | Pawel Jakub Dawidek | 2005-08-24 | 1 | -0/+17 |
| | | | | | Idea from: jmg Discussed on: arch@ | ||||
* | Cross-reference pw(8) into chpass(1), passwd(1), and vipw(8). | Sean Chittenden | 2005-08-02 | 1 | -0/+1 |
| | |||||
* | Change /home symbolic link, so it will point to usr/home instead of /usr/home. | Pawel Jakub Dawidek | 2005-07-31 | 1 | -1/+5 |
| | | | | | | | | | | | | Previous symlink was confusing: # cd /jails/virtual_system_1/home # realpath . /usr/home ...and slower. OK'ed by: rwatson, phk | ||||
* | Fix a particularly egregious grammar error. | Adam Weinberger | 2005-05-24 | 1 | -1/+1 |
| | | | | | Approved by: wpaul MFC after: 1 day | ||||
* | - Act according to the documentation (man page): | Robert Drehmel | 2005-04-28 | 1 | -2/+1 |
| | | | | | | | | | When adding users from a preformatted file, do not exit silently when empty lines or lines starting with a '#' are encountered - ignore them instead. - Fix a spelling error in a comment. PR: bin/80058 | ||||
* | Properly spell default in a comment. | Tom Rhodes | 2005-04-22 | 1 | -1/+1 |
| |