| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
characters in a username: where it was inserted into a regexp.
Fix it by escaping metacharacters in the name with \Q-\E.
|
|
|
|
| |
locale settings: allow any date and time separator characters.
|
|
|
|
|
| |
Don't print "Removing at jobs" if there are no jobs to remove.
Add a whitespace before "done." so the output looks better.
|
|
|
|
|
|
| |
new sysopen call.
PR: 29366 (in part)
|
|
|
|
| |
PR: 29366 (in part)
|
|
|
|
|
|
|
|
| |
inconsistently named "ptmp" and "etc_ptmp". This commit changes
it to "passwd_tmp" for consistency and to match OpenBSD's name
for the variable.
Consulted with: jedgar
|
|
|
|
|
|
| |
Submitted by: dynamo@harvard.net
Obtained from: OpenBSD
MFC after: 3 days
|
|
|
|
|
|
| |
PR: bin/23052
Submitted by: Mike Sellenschuetter <mike.sellenschuetter@bankofamerica.com>
MFC after: 1 week
|
|
|
|
| |
PR: 26674
|
|
|
|
|
|
|
|
|
|
| |
one user who differs only by case. The other perl tools assume (or enforce)
the all lowercase requirement, therefore making the search through
master.passwd case insensitive seemed a reasonable optimization, IMO.
I understand, although I do not sympathize with, the argument that someone
might want to do this on purpose, and might subsequently want to use the
wrong tool for the job. So, this fix should hopefully satisfy both camps.
|
|
|
|
|
|
|
| |
username to rm.
PR: 25961
Submitted by: Linh Pham <lplist@closedsrc.org>
|
|
|
|
|
| |
* Backslash escape non-alphanumeric chars in the login name so that perl
doesn't choke on things like '$'.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
username check which resulted from my attempt to expand them.
PR: bin/17372
Reviewed by: sheldonh
|
|
|
|
|
|
| |
the specified username contained uppercase alphabetics.
PR: bin/17372
|
| |
|
|
|
|
|
| |
Reviewed by: Guy Helmer <ghelmer@cs.iastate.edu
Submitted by: Paul Sandys <myj@nyct.net>
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
pointed out by: max
|
| |
|
|
|