aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/adduser
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge head from 7/28Simon J. Gerraty2014-08-192-3/+3
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=270164
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync from headSimon J. Gerraty2012-11-042-5/+4
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+14
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | use .Mt to mark up email addresses consistently (part2)Baptiste Daroussin2014-06-202-3/+3
| |/ |/| | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267668
* | Remove a reference to CVS and to freefall from a user-facing man page.Isabell Long2012-09-151-4/+3
| | | | | | | | | | | | | | | | | | | | PR: docs/171658 Reported by: Chris Petrik (c dot petrik dot sosa at gmail dot com) Approved by: gabor (mentor) MFC after: 5 days Notes: svn path=/head/; revision=240530
* | mdoc: add missing width argument to Bl -tag.Joel Dahl2012-06-031-1/+1
|/ | | | Notes: svn path=/head/; revision=236500
* Remove trailing whitespace per mdoc lint warningEitan Adler2012-03-291-1/+1
| | | | | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days Notes: svn path=/head/; revision=233648
* When using uidstart in /etc/adduser.conf, get the nextDaniel Eischen2012-02-251-0/+1
| | | | | | | | | | | available user id and show it in the "Uid [xxx]" prompt. PR: 163863 Submitted by: Moritz Wilhelmy (mw at wzff dot de) MFC after: 2 weeks Notes: svn path=/head/; revision=232146
* Spelling fixes for usr.sbin/Ulrich Spörlein2011-12-301-2/+2
| | | | Notes: svn path=/head/; revision=228990
* mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to theUlrich Spörlein2010-05-131-3/+3
| | | | | | | | | | | | | | bottom of the manpages and order them consistently. GNU groff doesn't care about the ordering, and doesn't even mention CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put them. Found by: mdocml lint run Reviewed by: ru Notes: svn path=/head/; revision=208027
* Fix a few whitespace issues and comment typos that I found while readingJoel Dahl2010-01-141-11/+9
| | | | | | | through this file. Notes: svn path=/head/; revision=202312
* The original adduser/rmuser scripts in Perl used to modify the PATHJohn Baldwin2008-07-301-2/+3
| | | | | | | | | | | | | | setting. When the scripts were converted to Bourne shell, this was removed. The adduser script was changed to use an explicit path for the pw(8) command so that /usr/sbin did not have to be in the user's PATH. The rmuser script continued to assume that /usr/sbin was in the user's path, however. This fixes the rmuser script to use an explicit path for pw(8) similar to adduser. MFC after: 2 weeks Notes: svn path=/head/; revision=181006
* In the description of the password field, -w was meant, not theChristian Brueffer2008-03-161-2/+2
| | | | | | | | | | | nonexistant -p flag. PR: 120122 Submitted by: Andy Kosela <andy.kosela@gmail.com> MFC after: 3 days Notes: svn path=/head/; revision=177280
* Add the -M command-line option, which will set home directory permissions.Mike Makonnen2008-01-272-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 Notes: svn path=/head/; revision=175719
* Allow adding a user(s) to additional groups in batch mode as well.Mike Makonnen2007-10-202-1/+2
| | | | | | | | Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> (modulo minor changes) MFC after: 2 weeks Notes: svn path=/head/; revision=172823
* The POP daemon's temporary mail file has a leading dot ('.'). This wasMike Makonnen2007-10-191-3/+3
| | | | | | | | | lost in the shell script rewrite of the rmuser command. Submitted by: Ian Smith <smithi@nimnet.asn.au> Notes: svn path=/head/; revision=172791
* Bump .Dd for r1.5; fix grammatical problem.Ceri Davies2007-04-121-2/+2
| | | | Notes: svn path=/head/; revision=168659
* Specify the correct way to modify this file, and warn that theMike Makonnen2007-04-121-1/+18
| | | | | | | | | | user should not depend on the internal variables documented in this man page. MFC After: 2 weeks Notes: svn path=/head/; revision=168658
* There are a couple of bugs in rev. 1.27:Mike Makonnen2007-04-121-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 Notes: svn path=/head/; revision=168656
* Errm... I don't see how rev. 1.26 could have possibly worked or been tested.Mike Makonnen2007-04-121-12/+13
| | | | | | | | | | Fix it for real. Submitted by: Johnny Lee <johnny@bmtk.com> MFC After: 2 weeks Notes: svn path=/head/; revision=168651
* Check if the new user already exists right after entering theLukas Ertl2007-03-261-2/+8
| | | | | | | username instead of watching the final call to pw(8) fail. Notes: svn path=/head/; revision=167917
* Flush my typo fix queue for this directory.Ceri Davies2006-12-052-2/+2
| | | | Notes: svn path=/head/; revision=164926
* Fix typos.Ceri Davies2006-12-052-3/+3
| | | | Notes: svn path=/head/; revision=164925
* Markup fixes.Ruslan Ermilov2006-09-291-2/+2
| | | | Notes: svn path=/head/; revision=162806
* Add adding_user.8 to SEE ALSO, note that usernames may contain any characterTom Rhodes2006-06-071-3/+6
| | | | | | | | | but not being with a hyphen, similar to adding_user.8. PR: 35732 Notes: svn path=/head/; revision=159364
* Honour the "uuid" directive in adduser.confMatteo Riondato2006-01-221-1/+4
| | | | | | | | | PR: conf/87914 Approved by: philip (mentor) MFC after: 3 days Notes: svn path=/head/; revision=154688
* Fix a particularly egregious grammar error.Adam Weinberger2005-05-241-1/+1
| | | | | | | | Approved by: wpaul MFC after: 1 day Notes: svn path=/head/; revision=146556
* - Act according to the documentation (man page):Robert Drehmel2005-04-281-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 Notes: svn path=/head/; revision=145618
* In fullpath_from_shell(), move the nologin detection before the cat | whilePeter Pentchev2004-09-231-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 Notes: svn path=/head/; revision=135616
* Also, match the full path to the special nologin shell.Mike Makonnen2004-08-281-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. Notes: svn path=/head/; revision=134440
* Assorted markup, grammar, and spelling fixes.Ruslan Ermilov2004-06-131-34/+43
| | | | Notes: svn path=/head/; revision=130420
* Add note that rmuser will clean up any IPC mechanisms owned by the user.Christian S.J. Peron2004-06-081-0/+3
| | | | | | | Approved by: bmilekic (mentor) Notes: svn path=/head/; revision=130249
* Accept full path names in addition to base names for shells.Mike Makonnen2004-06-062-11/+16
| | | | | | | | Make explicit in the documentation that valid shells need to be supplied only if the -S option is not given. Notes: svn path=/head/; revision=130160
* Fixed a typo.Ruslan Ermilov2004-06-041-2/+2
| | | | Notes: svn path=/head/; revision=130084
* This manual page will not first appear in 4.10 as RELENG_4 has a differentTom Rhodes2004-04-071-1/+1
| | | | | | | | | version of the adduser utility. Noticed by: simon Notes: svn path=/head/; revision=128021
* Fix today's faux pas by:Tom Rhodes2004-03-301-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 Notes: svn path=/head/; revision=127645
* Add an adduser.conf manual page.Tom Rhodes2004-03-303-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. Notes: svn path=/head/; revision=127644
* Sychronize with reality: nologin(8) is now in /usr/sbinColin Percival2004-03-301-3/+3
| | | | | | | Reminded by: trhodes Notes: svn path=/head/; revision=127635
* o Add an -S option to not attempt to ascertain the validity of a shell.Mike Makonnen2004-03-162-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. Notes: svn path=/head/; revision=127076
* Make rmuser now also remove ipc resources. Also, fix a few minorJens Schweikhardt2004-02-291-4/+18
| | | | | | | | | | | shell style problems (superfluous backslashes at EOL). PR: 55980 Submitted by: Chris S.J.Peron <maneo@bsdpro.com> MFC after: 2 weeks Notes: svn path=/head/; revision=126398
* mdoc(7): Properly mark C headers.Ruslan Ermilov2003-09-101-1/+1
| | | | Notes: svn path=/head/; revision=119964
* Typo.Mike Makonnen2003-06-241-1/+1
| | | | | | | | | This has worked so far because the variable was empty by default. Submitted by: Kostyuk Oleg <cub@cub.org.ua> Notes: svn path=/head/; revision=116784
* s/warn/info/Mike Makonnen2003-06-201-1/+1
| | | | Notes: svn path=/head/; revision=116628
* Add support for the special shell nologin.Mike Makonnen2003-06-202-5/+44
| | | | | | | Prodded by: mikeh Notes: svn path=/head/; revision=116627
* Update my email address.Mike Makonnen2003-06-202-2/+2
| | | | Notes: svn path=/head/; revision=116624
* Don't forget the -r on the second password prompt.Mike Makonnen2003-06-201-1/+1
| | | | | | | PR: bin/53550 Notes: svn path=/head/; revision=116623
* Document the -g option in the usage message.Mike Makonnen2003-03-231-0/+1
| | | | | | | Approved by: markm (mentor)(implicit) Notes: svn path=/head/; revision=112519