Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | 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 | |
| | ||||||
* | Sort sections. | Ruslan Ermilov | 2005-01-18 | 1 | -2/+2 | |
| | ||||||
* | Added the EXIT STATUS section where appropriate. | Ruslan Ermilov | 2005-01-17 | 1 | -1/+1 | |
| | ||||||
* | More NO_NIS cleanup: LINKS and MLINKS | Andrey A. Chernov | 2004-12-29 | 1 | -0/+4 | |
| | ||||||
* | Grammar in a comment. | Ruslan Ermilov | 2004-12-18 | 1 | -1/+1 | |
| | ||||||
* | Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set. | Bjoern A. Zeeb | 2004-11-13 | 1 | -3/+9 | |
| | | | | | | | | | | | If turned on no NIS support and related programs will be built. Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks | |||||
* | 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. | |||||
* | Remove useless .Pp. Typo: gcos -> gecos (as spelled in passwd(5)). | Philippe Charnier | 2004-07-26 | 1 | -2/+1 | |
| | ||||||
* | Mechanically kill hard sentence breaks. | Ruslan Ermilov | 2004-07-02 | 1 | -1/+2 | |
| | ||||||
* | Mechanically kill hard sentence breaks. | Ruslan Ermilov | 2004-07-02 | 1 | -2/+4 | |
| | ||||||
* | 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 | |
| | ||||||
* | Add humanize_number(3) to libutil for formating numbers into a human | Pawel Jakub Dawidek | 2004-05-24 | 1 | -0/+11 | |
| | | | | | | readable form. Obtained from: NetBSD | |||||
* | Don't depend on NULL's expansion being a pointer, cast it before it is passed | Stefan Farfeleder | 2004-05-18 | 1 | -3/+4 | |
| | | | | | | to variadic functions. Approved by: das (mentor) | |||||
* | Bring the description for login_getclassbyname in sync with the function's | Diomidis Spinellis | 2004-05-11 | 1 | -3/+4 | |
| | | | | | | | arguments. The function has as a second argument a struct passwd * pointer, not a directory name. MFC after: 2 weeks | |||||
* | 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 | |||||
* | Typo fix. | Marc Fonvieille | 2004-03-03 | 1 | -1/+1 | |
| | | | | | | PR: docs/63677 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> MFC after: 1 week | |||||
* | 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 the clean_environment call to libutil.h also. | Tim Kientzle | 2004-02-26 | 1 | -0/+2 | |
| | | | | MFC after: 2 weeks | |||||
* | Remove unused includes. Make it WARNS=6 friendly. Concerning bin/2442, make | Philippe Charnier | 2004-01-18 | 4 | -21/+39 | |
| | | | | | | | | | | a new function dup_shell() to replace ok_shell() and make it unconditionnally strdup() its result to make the caller's code simplier. Change ok_shell() to just return an integer value suitable for tests (it was used mainly for that purpose). Do not use strdup() in the caller's code but rely on dup_shell() that will do the job for us. PR: bin/2442 | |||||
* | add missing endusershell() call. Original version was incorrect. | Philippe Charnier | 2004-01-18 | 1 | -1/+3 | |
| | | | | | PR: bin/2442 Reviewed by: Friedemann Becker <zxmxy33@mail.uni-tuebingen.de> | |||||
* | 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 | |||||
* | (mostly) Clean up some const warnings here. The code takes some liberties | Peter Wemm | 2003-10-26 | 1 | -8/+9 | |
| | | | | | because it is the originator of various const strings and knows that they came from malloc. | |||||
* | ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify. | Mark Murray | 2003-10-18 | 5 | -74/+79 | |
| | ||||||
* | 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 | |
| | ||||||
* | Do not compare unsigned int values with ULONG_MAX. The comparison is | Alexander Kabaev | 2003-07-11 | 1 | -2/+2 | |
| | | | | always false on 64bit platforms and GCC 3.3.1 issues warning there. | |||||
* | 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> |