summaryrefslogtreecommitdiffstats
path: root/usr.sbin/adduser/adduser.sh
Commit message (Collapse)AuthorAgeFilesLines
* 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-201-5/+42
| | | | Prodded by: mikeh
* Update my email address.mtm2003-06-201-1/+1
|
* 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-201-9/+13
| | | | 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)
* Update copyright.mtm2003-02-161-3/+1
|
* 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
* 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)
* - 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)
* *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
|
* Replace the perl versions of adduser and rmuser with shell script versions.scottl2002-12-031-0/+874
| | | | | Submitted by: Mike Makonnen <mtm@identd.net> Approved by: re
* recording cvs-1.6 file deathpeter1995-12-301-195/+0
|
* Yet one cleanupache1994-12-301-0/+195
OpenPOWER on IntegriCloud