summaryrefslogtreecommitdiffstats
path: root/usr.sbin/adduser
Commit message (Collapse)AuthorAgeFilesLines
* Fix a particularly egregious grammar error.adamw2005-05-241-1/+1
| | | | | Approved by: wpaul MFC after: 1 day
* - Act according to the documentation (man page):robert2005-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
* In fullpath_from_shell(), move the nologin detection before the cat | whileroam2004-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
* Also, match the full path to the special nologin shell.mtm2004-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.
* Assorted markup, grammar, and spelling fixes.ru2004-06-131-34/+43
|
* Add note that rmuser will clean up any IPC mechanisms owned by the user.csjp2004-06-081-0/+3
| | | | Approved by: bmilekic (mentor)
* Accept full path names in addition to base names for shells.mtm2004-06-062-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.ru2004-06-041-2/+2
|
* This manual page will not first appear in 4.10 as RELENG_4 has a differenttrhodes2004-04-071-1/+1
| | | | | | version of the adduser utility. Noticed by: simon
* Fix today's faux pas by:trhodes2004-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
* Add an adduser.conf manual page.trhodes2004-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.
* Sychronize with reality: nologin(8) is now in /usr/sbincperciva2004-03-301-3/+3
| | | | Reminded by: trhodes
* o Add an -S option to not attempt to ascertain the validity of a shell.mtm2004-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.
* Make rmuser now also remove ipc resources. Also, fix a few minorschweikh2004-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
* mdoc(7): Properly mark C headers.ru2003-09-101-1/+1
|
* Typo.mtm2003-06-241-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/mtm2003-06-201-1/+1
|
* Add support for the special shell nologin.mtm2003-06-202-5/+44
| | | | Prodded by: mikeh
* Update my email address.mtm2003-06-202-2/+2
|
* Don't forget the -r on the second password prompt.mtm2003-06-201-1/+1
| | | | PR: bin/53550
* Document the -g option in the usage message.mtm2003-03-231-0/+1
| | | | Approved by: markm (mentor)(implicit)
* Add a -g option to specify a default login group.mtm2003-03-202-10/+22
| | | | Approved by: markm (mentor)(implicit)
* o initialize a couple of local flags so the user can re-edit groupsmtm2003-03-191-2/+8
| | | | | | | | next time the subroutine is re-entered o s/configrun/configflag/ o Make the prompt make sense if the user was creating a configuration file Approved by: markm (mentor)(implicit)
* mdoc(7) police: Scheduled sweep.ru2003-02-241-9/+9
|
* Update copyright.mtm2003-02-162-6/+2
|
* Condense the output to one line per removed user. For user's whomtm2003-02-162-21/+56
| | | | | | want the more verbose version, there's a -v option. Approved by: markm (mentor)
* Revisit the shell special characters issue and settle it once-and-forall.mtm2003-02-091-13/+19
| | | | | | | | All characters will be accepted, and pw(8) can sort out which ones it will allow and which ones it won't. Approved by: markm (mentor) Prodded by: Philippe Bourcier <philippe@cyberabuse.org>
* Change the behaviour of adduser to match the previous incarnation a little more.adrian2003-02-081-2/+26
| | | | | | | | | | | | | If any of the given groups do not exist complain and let the user try again. This saves the user from discovering at the end of the process that they've forgotten to add a group or they've typoed. Thanks to cmc/dougb for pointing out how bad my sh fu actually is. Original code by: me Scary sh rewrite by: dougb Reviewed by: dougb
* Better gender-neutral language.fanf2003-02-041-2/+2
| | | | Submitted by: sheldonh
* back out logging to /var/log/adduserfjoe2003-01-241-6/+0
| | | | (/usr/sbin/pw already logs to /var/log/userlog)
* In interactive mode, ask the user if he/she wants to add anothermtm2003-01-241-0/+18
| | | | | | | | user and re-run interactive questions or quit depending on the answer. Submitted by: Scot Hetzel <hetzels@westbend.net> Approved by: markm (mentor)
* expr foo -> $((foo))fjoe2003-01-231-2/+2
|
* - restore an ability to write log of added users (default tofjoe2003-01-231-3/+13
| | | | | | | /var/log/adduser, disabled if empty or adduserlog="no") - do not ask for password in configure mode - print $passwdtype instead of password in configure mode - add DATECMD, GREPCMD (not overridable but with full path)
* Do not loose trailing spaces when printing prompt messages.fjoe2003-01-231-3/+3
|
* *blush*mtm2003-01-231-8/+8
| | | | | | | While I'm here properly quote all the other input I neglected to quote. Approved by: markm (mentor)(implicit)
* Don't forget to properly quote input.mtm2003-01-211-1/+1
| | | | | Approved by: markm (mentor)(implicit) Submitted by: Robin Breathe <robin@isometry.net>
* do not loose trailing space when asking uidfjoe2003-01-201-1/+1
|
* english(4) police.schweikh2002-12-272-5/+5
|
* Uniformly refer to a file system as "file system".ru2002-12-121-2/+2
| | | | Approved by: re
* Correctly handle files with IFS characters (spaces) in their names whentjr2002-12-091-7/+3
| | | | | | | cleaning up temporary files. Submitted by: Mike Makonnen <mtm@identd.net> Approved by: re
* mdoc(7) police: overhaul.ru2002-12-042-182/+272
| | | | Approved by: re
* Replace the perl versions of adduser and rmuser with shell script versions.scottl2002-12-037-2291/+1458
| | | | | Submitted by: Mike Makonnen <mtm@identd.net> Approved by: re
* mdoc(7) police: markup fixes.ru2002-11-271-3/+4
| | | | Approved by: re
* Clarify the unique groups scheme by mentioning that the 002 umaskfanf2002-11-081-3/+5
| | | | | | | is instead of the usual 022 umask, and explain that what the scheme still prevents is unwanted changes, not prying eyes. While I'm here, mess with the phrasing and line-breaks a bit.
* Fix conjugation of exists and add full stops to the messages I changed.dwmalone2002-08-111-2/+2
| | | | | | PR: 38481 Submitted by: Kevin Kinsey <kadmin@elisha.daleco.biz> MFC after: 1 week
* The .Nm utilitycharnier2002-07-142-15/+22
|
* Found a single point where rmuser(8) wasn't robust to strangeyar2002-02-111-1/+1
| | | | | characters in a username: where it was inserted into a regexp. Fix it by escaping metacharacters in the name with \Q-\E.
* Keep similar things together: Check for too long usernamesyar2002-01-281-4/+3
| | | | inside the function that verifies username validity.
* Disallow adding duplicate roots, toors, or other users w/uid 0.yar2002-01-281-1/+1
| | | | | | | Previously, a truth check instead if defined() check erroneously allowed that. PR: bin/8745
* Implement a flexible way of letting some unusual charactersyar2002-01-281-6/+38
| | | | | | | | into usernames: Make the regular expression to check usernames against configurable. PR: bin/22860 bin/31049 Reviewed by: sheldonh
OpenPOWER on IntegriCloud