Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | 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 |
| | |||||
* | 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 | ||||
* | 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 | ||||
* | 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 | ||||
* | 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 | ||||
* | Remove unused variables. | Stefan Farfeleder | 2005-04-09 | 1 | -4/+1 |
| | |||||
* | The variable `arglist' has internal linkage in pw.c, don't declare it as extern | Stefan Farfeleder | 2005-02-10 | 1 | -1/+1 |
| | | | | here. | ||||
* | Sort sections. | Ruslan Ermilov | 2005-01-18 | 1 | -56/+56 |
| | |||||
* | Added the EXIT STATUS section where appropriate. | Ruslan Ermilov | 2005-01-17 | 1 | -1/+1 |
| | |||||
* | Don't rely on NULL being a pointer, add a cast before passing it to a variadic | Stefan Farfeleder | 2004-10-03 | 1 | -2/+2 |
| | | | | function. | ||||
* | In fullpath_from_shell(), move the nologin detection before the cat | while | Peter Pentchev | 2004-09-23 | 1 | -7/+11 |
| | | | | | | | | | loop to avoid an incorrect display of the nologin path twice. PR: 71786 Submitted by: Andrew Hayden <andrew.hayden@gmail.com> Reviewed by: mtm MFC after: 3 days | ||||
* | Also, match the full path to the special nologin shell. | Mike Makonnen | 2004-08-28 | 1 | -1/+2 |
| | | | | | | | | | | Previously, it would recognize it as a valid shell only if the basename (nologin) was specified. Now, it will recognize both the basename and the full path. NOTE: The full path as adduser(8) understands it is /usr/sbin/nologin. There is a symlink, /sbin/nologin, but that's deprecated and only there for backwards compatibility. | ||||
* | Mechanically kill hard sentence breaks. | Ruslan Ermilov | 2004-07-02 | 1 | -1/+2 |
| | |||||
* | Use strlcpy(3) to replace the idiomatic | Robert Drehmel | 2004-06-17 | 3 | -30/+18 |
| | | | | | | | strncpy(d, s, l); d[l - 1] = '\0'; statements. | ||||
* | Fix a bug which occurred when the home directory given by the | Robert Drehmel | 2004-06-17 | 1 | -1/+2 |
| | | | | | | | | -d option was equal to the one already saved and which caused the pw utility to avoid updating values passed by other options processed before the -d option in the code path. Spotted by: Richard Caley <rjc@interactive.co.uk> | ||||
* | Assorted markup, grammar, and spelling fixes. | Ruslan Ermilov | 2004-06-13 | 1 | -34/+43 |
| | |||||
* | Add note that rmuser will clean up any IPC mechanisms owned by the user. | Christian S.J. Peron | 2004-06-08 | 1 | -0/+3 |
| | | | | Approved by: bmilekic (mentor) | ||||
* | Accept full path names in addition to base names for shells. | Mike Makonnen | 2004-06-06 | 2 | -11/+16 |
| | | | | | Make explicit in the documentation that valid shells need to be supplied only if the -S option is not given. | ||||
* | Fixed a typo. | Ruslan Ermilov | 2004-06-04 | 1 | -2/+2 |
| | |||||
* | This manual page will not first appear in 4.10 as RELENG_4 has a different | Tom Rhodes | 2004-04-07 | 1 | -1/+1 |
| | | | | | | version of the adduser utility. Noticed by: simon | ||||
* | Fix today's faux pas by: | Tom Rhodes | 2004-03-30 | 1 | -16/+5 |
| | | | | | | | | Removing the -compact option passed to .Bl macro to avoid useless .Pp macros; Adding a missing period; Using .Xr with .Nd since makewhatis(1) has no support for cases where the Xref is absent. Informed by: ru | ||||
* | Add an adduser.conf manual page. | Tom Rhodes | 2004-03-30 | 3 | -3/+211 |
| | | | | | | | Hook it to the build in Makefile. Xref from adduser.8. Update adduser.8's BUGS section. Bump the date on adduser.8. | ||||
* | Sychronize with reality: nologin(8) is now in /usr/sbin | Colin Percival | 2004-03-30 | 1 | -3/+3 |
| | | | | Reminded by: trhodes | ||||
* | o Add an -S option to not attempt to ascertain the validity of a shell. | Mike Makonnen | 2004-03-16 | 2 | -13/+59 |
| | | | | | | | o Add a -D option to not attempt to create the home directory. o Treat the /nonexistent home directory specially. It means the user has no home directory and it should not be created. o Update Copyright year and my email. | ||||
* | Shift file locking to source file instead of temp file. This fixes | Ken Smith | 2004-03-08 | 2 | -8/+5 |
| | | | | | | | | | | | data buffering issue that corrupts files if two pw(8)'s run at the same time as well as changing pw(8) so it uses the same locking mechanism as PAM, vipw(8), pwd_mkdb(8), etc. PR: bin/23501 Submitted by: Alex Kapranoff <alex (at) kapran (dot) bitmcnit (dot) bryansk (dot) su> Approved by: rwatson (mentor) MFC after: 5 days | ||||
* | Make rmuser now also remove ipc resources. Also, fix a few minor | Jens Schweikhardt | 2004-02-29 | 1 | -4/+18 |
| | | | | | | | | shell style problems (superfluous backslashes at EOL). PR: 55980 Submitted by: Chris S.J.Peron <maneo@bsdpro.com> MFC after: 2 weeks | ||||
* | Add a `-H <fd>' option that is like `-h <fd>', but accepts an already | Ian Dowse | 2004-01-11 | 4 | -22/+52 |
| | | | | | | | encrypted password on the specified file descriptor. PR: bin/22033 MFC after: 2 weeks | ||||
* | mdoc(7): Properly mark C headers. | Ruslan Ermilov | 2003-09-10 | 1 | -1/+1 |
| | |||||
* | mdoc(7): Use the new feature of the .In macro. | Ruslan Ermilov | 2003-09-08 | 1 | -1/+1 |
| | |||||
* | Typo. | Mike Makonnen | 2003-06-24 | 1 | -1/+1 |
| | | | | | | This has worked so far because the variable was empty by default. Submitted by: Kostyuk Oleg <cub@cub.org.ua> | ||||
* | s/warn/info/ | Mike Makonnen | 2003-06-20 | 1 | -1/+1 |
| | |||||
* | Add support for the special shell nologin. | Mike Makonnen | 2003-06-20 | 2 | -5/+44 |
| | | | | Prodded by: mikeh | ||||
* | Update my email address. | Mike Makonnen | 2003-06-20 | 2 | -2/+2 |
| | |||||
* | Don't forget the -r on the second password prompt. | Mike Makonnen | 2003-06-20 | 1 | -1/+1 |
| | | | | PR: bin/53550 | ||||
* | The .Xr utility. Spelling. Put NIS under .Tn | Philippe Charnier | 2003-06-08 | 1 | -11/+19 |
| | |||||
* | Add information about the log file. | Tom Rhodes | 2003-05-08 | 1 | -0/+10 |
| | | | | | PR: 35575 Submitted by: "Simon L. Nielsen" <simon@nitro.dk> (original version) | ||||
* | style.Makefile(5) | David E. O'Brien | 2003-04-04 | 1 | -1/+1 |
| | |||||
* | Document the -g option in the usage message. | Mike Makonnen | 2003-03-23 | 1 | -0/+1 |
| | | | | Approved by: markm (mentor)(implicit) | ||||
* | Add a -g option to specify a default login group. | Mike Makonnen | 2003-03-20 | 2 | -10/+22 |
| | | | | Approved by: markm (mentor)(implicit) |