aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/adduser/adduser.perl
Commit message (Collapse)AuthorAgeFilesLines
* Allow dash `-' (except for first char) and underscore `_' in usernames.Wolfram Schneider1996-12-291-3/+3
| | | | | | | pointed out by: max Notes: svn path=/head/; revision=21031
* remove group limits checksWolfram Schneider1996-12-291-10/+1
| | | | Notes: svn path=/head/; revision=21023
* Minor style fixes.Mike Pritchard1996-12-231-3/+3
| | | | | | | | | I also renamed the adduser "-quit" option to "-quiet", since it is supposed to be the same as the -s/-silent option, and -quit must have beena typo. Notes: svn path=/head/; revision=20826
* Expand username limit to 16Andrey A. Chernov1996-12-071-4/+4
| | | | Notes: svn path=/head/; revision=20196
* Don't show on the screen just securely entered passwordAndrey A. Chernov1996-11-271-3/+3
| | | | | | | | (in /etc/adduser.message text) Sending password by E-mail on local machine is joke in any case Notes: svn path=/head/; revision=19987
* do not print 'illegal shell' for pseudo users news and xtenWolfram Schneider1996-11-201-2/+2
| | | | | | | Submitted by: kuku Notes: svn path=/head/; revision=19890
* warn if reach group line limit (>200 users, >1024 bytes per line)Wolfram Schneider1996-09-171-1/+10
| | | | | | | | | close PR#1595 suggested by: Seppo Kallio <kallio@beeblebrox.cc.jyu.fi Notes: svn path=/head/; revision=18332
* Do not backup master.passwd if pwd_mkdb returned an error. ThisWolfram Schneider1996-09-141-13/+3
| | | | | | | | | | was to paranoid, pwd_mkdb(8) is carefully enough to not corrupt master.passwd on failure. Submitted by: joerg Notes: svn path=/head/; revision=18302
* Make passwords no longer echo or display. Because of this, we now alsoJordan K. Hubbard1996-09-111-4/+16
| | | | | | | | | | ask for matching confirmation. I'm sure there is a clever direct-from-perl ioctl way of putting the terminal into noecho mode, but I don't feel like learning perl so I just used system. [yes, I'll put stty on the installation boot floppy as necessary] Notes: svn path=/head/; revision=18243
* typo policeAdam David1996-08-281-16/+17
| | | | | | | | | | | I couldn't make any sense of the sentence "Eval variables in this file." so I left it alone. also allow creation of new local group when NIS groups are used. this can probably be done more elegantly, and needs more thought. Notes: svn path=/head/; revision=17866
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightWolfram Schneider1996-08-271-26/+16
| | | | Notes: svn path=/head/; revision=17849
* run pwd_mkdb with new check option [-c] to verify correctnessWolfram Schneider1996-08-201-2/+2
| | | | | | | of /etc/master.passwd Notes: svn path=/head/; revision=17714
* Do not add an user to a group if the group is also the login group.Wolfram Schneider1996-08-141-11/+14
| | | | Notes: svn path=/head/; revision=17598
* Do not send "welcome mail" as default. If you want this featureWolfram Schneider1996-08-131-4/+8
| | | | | | | | | you can still enable it. Better, use mail client like elm or pine. Requested by: Jordan Notes: svn path=/head/; revision=17590
* We DON'T ship bash by default, why is it the default shell?Gary Clark II1996-05-061-3/+3
| | | | | | | | | We also don't ship tcsh or ksh by default. Correct these two things to make sh the default and increase csh and sh to be higher priority. Notes: svn path=/head/; revision=15649
* Submitted by: Masafumi NAKANE <masafumi@tky007.tth.expo96.ad.jp>Wolfram Schneider1996-02-101-2/+8
| | | | | | | bugfix: chown home directory if don't copy dotfiles Notes: svn path=/head/; revision=14013
* Clean up some of the english here..Jordan K. Hubbard1995-10-221-10/+10
| | | | Notes: svn path=/head/; revision=11651
* Various fixes to make this work better when called from other tools.Jordan K. Hubbard1995-10-191-2/+14
| | | | | | | Submitted by: Coranth Gryphon <gryphon@healer.com> & Wolfram Schneider <wosch@cs.tu-berlin.de> Notes: svn path=/head/; revision=11563
* The problem is the returned salt, while the freebsd man pages asks that theJordan K. Hubbard1995-05-201-2/+2
| | | | | | | | | crypt salt string begin with a '_', no other crypt's do. If you remove the initialization of $salt to '_' in sub salt(), everything works as advertised. Submitted by: Charles Henrich <henrich@crh.cl.msu.edu> Notes: svn path=/head/; revision=8644
* Don't accept usernames longer than 8 charactersAndrey A. Chernov1995-04-301-1/+5
| | | | | | | Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de> Notes: svn path=/head/; revision=8190
* Non-blocking lockAndrey A. Chernov1995-04-091-13/+20
| | | | | | | | Remove old salt cause possible endless loop Submitted by: <wosch@cs.tu-berlin.de> Notes: svn path=/head/; revision=7686
* o more optionsAndrey A. Chernov1995-03-081-562/+941
| | | | | | | | | | | | | | o less restrictive, you can choise uid, gid ... o invite user into some groups o encrypted passwords with crypt o batch mode (for instance, this works now: $ adduser -batch jkh guest,uuadmin "Jordan K. Hubbard" passwd see manpage for more details) Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de> Notes: svn path=/head/; revision=6960
* Wolfram Schneider <wosch@cs.tu-berlin.de>:Jordan K. Hubbard1995-01-091-107/+527
| | | | | | | | | | o manpage o save configuration in /etc/adduser.conf o send message file (/etc/adduser.message) Submitted by: woschcs.tu-berlin.de Notes: svn path=/head/; revision=5450
* Update adduser to version by Wolfram Schneider. Sorry, Gary, but hisJordan K. Hubbard1995-01-031-150/+531
| | | | | | | | adduser is a Cadillac to your Volkswagen.. :-) Submitted by: wosch@cs.tu-berlin.de Notes: svn path=/head/; revision=5354
* Oops, rename adduser.sh to adduser.perlAndrey A. Chernov1994-12-301-0/+195
Add empty clean and obj targets. Notes: svn path=/head/; revision=5286