Daniel O'Callaghan
47bc1e1873
Print yyyy/mm/dd in /var/log/adduser, instead of yy/mm/dd
...
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-01-15 10:26:59 +00:00
Wolfram Schneider
10e41acac5
Removing -batch option from adduser. Adduser was written as
...
an *interactive* command for newbies. The pw(8) does now a much better
job for adding users from command line. Also, the -batch option is
not well tested, buggy and unsupported.
1998-08-17 18:50:29 +00:00
Wolfram Schneider
5b496c24c1
Always ask for homedir.
...
PR: 6754
Submitted by: uhlar@netlab.sk
1998-06-07 18:38:32 +00:00
Wolfram Schneider
d7f712093f
Rename the pwd_mkdb(8) option '-c' to '-C' for better compatiblity
...
with BSD/OS.
1998-01-10 17:27:28 +00:00
Wolfram Schneider
86e2983aa5
Small bugfix: store $uid_start instead hard coded value 1000
...
in /etc/adduser.conf.
1997-12-24 11:44:14 +00:00
Wolfram Schneider
142123c17e
Do not complain about non existing shell "/nonexistent"
...
Smarter error check if a uid is already in use.
Submitted by: "Eugene Radchenko" <genie@qsar.chem.msu.su>
1997-09-20 19:59:54 +00:00
Wolfram Schneider
163f94979e
Do not accept empty user names.
1997-09-20 18:26:22 +00:00
Wolfram Schneider
956737a7a6
Stop the growing list of shells if /etc/adduser.conf
...
was updated.
1997-08-26 22:47:51 +00:00
Paul Traina
8a04c9dcc9
Nologin is also a valid 'invalid' shell
1997-07-31 15:25:35 +00:00
Wolfram Schneider
0298e80d89
Delete dead test code.
1997-07-24 17:44:46 +00:00
Wolfram Schneider
2aec92dd66
cp -r' ->
cp -R'
...
Option -r is obsolete and buggy.
1997-07-18 12:05:43 +00:00
Andrey A. Chernov
2105643e74
Change "no" answer to "default" for login class, because "no" class
...
can exists and "default" class is really equal to empty class.
1997-05-01 23:34:25 +00:00
Andrey A. Chernov
a0c103b58d
Allow "no" answer on login class prompt override non-empty
...
/etc/adduser.conf defaultclass with empty one
1997-05-01 23:23:06 +00:00
Andrey A. Chernov
84dc96f1be
1. Deal with login classes now
...
2. Turn on send_message by default for security reasons (mailbox
must be pre-created)
1997-05-01 22:55:58 +00:00
Wolfram Schneider
eac4b079c7
Support comments in password database (/etc/master.passwd).
...
Comments in group database (/etc/group) are currently not
supported - adduser silently delete blank lines and comments.
1997-03-09 12:21:45 +00:00
Peter Wemm
476602a9d0
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Wolfram Schneider
d26d5268ed
Allow dash -' (except for first char) and underscore
_' in usernames.
...
pointed out by: max
1996-12-29 21:56:31 +00:00
Wolfram Schneider
9a43d0d77b
remove group limits checks
1996-12-29 15:06:52 +00:00
Mike Pritchard
574d7dc09d
Minor style fixes.
...
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.
1996-12-23 00:10:22 +00:00
Andrey A. Chernov
2f71230e78
Expand username limit to 16
1996-12-07 21:25:12 +00:00
Andrey A. Chernov
28c5126cfb
Don't show on the screen just securely entered password
...
(in /etc/adduser.message text)
Sending password by E-mail on local machine is joke in any case
1996-11-27 22:04:55 +00:00
Wolfram Schneider
42eacfd392
do not print 'illegal shell' for pseudo users news and xten
...
Submitted by: kuku
1996-11-20 01:07:46 +00:00
Wolfram Schneider
d45496e5c4
warn if reach group line limit (>200 users, >1024 bytes per line)
...
close PR#1595
suggested by: Seppo Kallio <kallio@beeblebrox.cc.jyu.fi
1996-09-17 19:34:56 +00:00
Wolfram Schneider
896f207c80
Do not backup master.passwd if pwd_mkdb returned an error. This
...
was to paranoid, pwd_mkdb(8) is carefully enough to not
corrupt master.passwd on failure.
Submitted by: joerg
1996-09-14 23:22:23 +00:00
Jordan K. Hubbard
79b69435d9
Make passwords no longer echo or display. Because of this, we now also
...
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]
1996-09-11 08:36:54 +00:00
Adam David
718737f0fb
typo police
...
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.
1996-08-28 17:54:14 +00:00
Wolfram Schneider
5a80fb277e
sync copyright with /usr/share/examples/etc/bsd-style-copyright
1996-08-27 20:04:45 +00:00
Wolfram Schneider
f99f7b462b
run pwd_mkdb with new check option [-c] to verify correctness
...
of /etc/master.passwd
1996-08-20 19:57:23 +00:00
Wolfram Schneider
8a368b34b0
Do not add an user to a group if the group is also the login group.
1996-08-14 19:06:04 +00:00
Wolfram Schneider
2e8b782306
Do not send "welcome mail" as default. If you want this feature
...
you can still enable it. Better, use mail client like elm or pine.
Requested by: Jordan
1996-08-13 21:50:51 +00:00
Gary Clark II
b8ff21bda2
We DON'T ship bash by default, why is it the default shell?
...
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.
1996-05-06 06:15:19 +00:00
Wolfram Schneider
5038dc1abd
Submitted by: Masafumi NAKANE <masafumi@tky007.tth.expo96.ad.jp>
...
bugfix: chown home directory if don't copy dotfiles
1996-02-10 17:15:47 +00:00
Jordan K. Hubbard
cfe7e224b8
Clean up some of the english here..
1995-10-22 11:44:16 +00:00
Jordan K. Hubbard
2abfdd7f9c
Various fixes to make this work better when called from other tools.
...
Submitted by: Coranth Gryphon <gryphon@healer.com> & Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-10-19 06:26:49 +00:00
Jordan K. Hubbard
7b74963e46
The problem is the returned salt, while the freebsd man pages asks that the
...
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>
1995-05-20 13:05:22 +00:00
Andrey A. Chernov
7439966a40
Don't accept usernames longer than 8 characters
...
Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-04-30 19:20:25 +00:00
Andrey A. Chernov
6b234a88dc
Non-blocking lock
...
Remove old salt cause possible endless loop
Submitted by: <wosch@cs.tu-berlin.de>
1995-04-09 03:34:10 +00:00
Andrey A. Chernov
f01592bbca
o more options
...
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>
1995-03-08 22:44:37 +00:00
Jordan K. Hubbard
8f1133e6ec
Wolfram Schneider <wosch@cs.tu-berlin.de>:
...
o manpage
o save configuration in /etc/adduser.conf
o send message file (/etc/adduser.message)
Submitted by: woschcs.tu-berlin.de
1995-01-09 11:26:31 +00:00
Jordan K. Hubbard
5cc75e1e12
Update adduser to version by Wolfram Schneider. Sorry, Gary, but his
...
adduser is a Cadillac to your Volkswagen.. :-)
Submitted by: wosch@cs.tu-berlin.de
1995-01-03 09:46:14 +00:00
Andrey A. Chernov
e3763702e6
Oops, rename adduser.sh to adduser.perl
...
Add empty clean and obj targets.
1994-12-30 12:13:08 +00:00