Commit Graph

12 Commits

Author SHA1 Message Date
dougb
5a3d126c72 * Fix a long line that I introduced in the last commit
* Backslash escape non-alphanumeric chars in the login name so that perl
  doesn't choke on things like '$'.
2000-12-17 23:42:45 +00:00
dougb
6b9baeb4ed If a user is in the database, rmuser ought to be able to remove them.
Address this by using getpwnam(), thus killing several birds with
the same stone. My fix is slightly more aggressive than the
originators. :)

PR:		misc/22278
2000-11-21 05:52:35 +00:00
newton
8a8b7a9e40 Un-botch my botched reduction in permitted characters in the permitted
username check which resulted from my attempt to expand them.

PR:		bin/17372
Reviewed by:	sheldonh
2000-03-14 14:27:34 +00:00
newton
171e956a5d Fix the case where username validity test would incorrectly fail if
the specified username contained uppercase alphabetics.

PR:		bin/17372
2000-03-14 14:19:17 +00:00
peter
b6784c4210 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
wosch
1ac3561613 Variable name typo.
Reviewed by: Guy Helmer <ghelmer@cs.iastate.edu
Submitted by:	Paul Sandys <myj@nyct.net>
1997-04-02 14:34:57 +00:00
wosch
15938a4382 Cleaned up some messages, added a check to remove a leftover popd file
from /var/mail, added a routine to delete the removed user's files
from /tmp, /var/tmp, & /var/tmp/vi.recover, and added code to kill any
running processes owned by the removed user).  I've also added a flag
for non-interactive execution, cleaned up the man page, and adjusted
my address.

Submitted by: ghelmer@cs.iastate.edu (Guy Helmer)
1997-03-08 18:04:45 +00:00
peter
32d6b795de Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
jkh
9c0cd3f9df 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
wosch
bcbf71fd9e Allow dash -' (except for first char) and underscore _' in usernames.
pointed out by: max
1996-12-29 21:56:31 +00:00
ache
4d65b8d429 Expand username limit to 16 1996-12-07 21:25:12 +00:00
wosch
f6836c237d install rmuser, addgroup, rmgroup in /usr/sbin 1996-11-17 03:51:33 +00:00