Commit Graph

194 Commits

Author SHA1 Message Date
mpp
a43d267f74 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
ache
ba8fcf69ff Expand username limit to 16 1996-12-07 21:25:12 +00:00
ache
86993ad860 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
wosch
e5c94a20ac do not print 'illegal shell' for pseudo users news and xten
Submitted by:	 kuku
1996-11-20 01:07:46 +00:00
wosch
6b96105e09 install rmuser, addgroup, rmgroup in /usr/sbin 1996-11-17 03:51:33 +00:00
wosch
7336c227c5 manpages for rmgroup(8) and addgroup(8) 1996-11-04 17:21:11 +00:00
wosch
aafdab57f3 rmgroup - delete a Unix group
usage: rmgroup group
1996-10-30 20:58:47 +00:00
wosch
7736b90b96 addgroup - add a group or add users to a group
addgroup [-g gid] group [user[,user,...]]
1996-10-29 20:31:43 +00:00
wosch
881d2edd2e 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
wosch
3d9135fb86 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
jkh
3ed54b5319 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
56decd4563 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
wosch
0210175107 sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
mpp
b4aab8b6f6 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
wosch
938f39425a run pwd_mkdb with new check option [-c] to verify correctness
of /etc/master.passwd
1996-08-20 19:57:23 +00:00
wosch
93f624e1a5 Do not add an user to a group if the group is also the login group. 1996-08-14 19:06:04 +00:00
wosch
c36121cb27 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
wosch
f43e4b2a9b documented login name limit
Obtained from: mailing list
1996-06-09 20:45:35 +00:00
gclarkii
189a7acd97 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
wosch
62448dde8e 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
mpp
511d4f82b2 Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
peter
c3f352d4ad This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
peter
ab124e78b0 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
jkh
1904df8cb9 Clean up some of the english here.. 1995-10-22 11:44:16 +00:00
jkh
ef97522a1e 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
jkh
055f32000d 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
ache
87e4e8e6d5 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
ache
0933c2174b 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
ache
ed3b852197 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
jkh
99804c7d49 Correct some of the english. 1995-01-09 11:32:01 +00:00
jkh
0cf90bc747 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
jkh
aec1675e97 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
ache
866cb66ce4 Change ${COPY} to -c, always needed here
Remove manpage reference to BSD adduser, add pwd_mkdb reference
1994-12-31 11:12:35 +00:00
ache
d9a91dd43f Remove extra targets per Bruce suggestion.
Use more macros instead of hardcoded things
1994-12-30 15:38:04 +00:00
ache
247b0f64fa Change man section 1994-12-30 12:15:39 +00:00
ache
a308868ddc Oops, rename adduser.sh to adduser.perl
Add empty clean and obj targets.
1994-12-30 12:13:08 +00:00
ache
df40a2211f Yet one cleanup 1994-12-30 12:03:48 +00:00
bde
963bf79873 Fix everything. 1994-12-30 07:18:23 +00:00
gclarkii
b80f2f4fc2 Changed my copyright back. Too many problems with new one. 1994-12-28 17:27:21 +00:00
ache
f75a0b305c Fix configfile path 1994-12-28 13:49:55 +00:00
ache
51b1e14e46 Move conf files to src/etc 1994-12-28 13:47:31 +00:00
gclarkii
46e9ddaf12 Add makefile for adduser.
Would a makefile guru please look this over to make sure I did this right?
1994-12-28 07:35:09 +00:00
gclarkii
09e953fa34 Add Id strings 1994-12-28 07:11:29 +00:00
gclarkii
a839cfdbd5 Adding my adduser command. I only have to add a makefile for it to
be compleate.
1994-12-28 06:55:42 +00:00