summaryrefslogtreecommitdiff
path: root/usr.sbin/adduser
AgeCommit message (Collapse)Author
2002-03-05Don't delete ptmp if we didn't create it ourselves; Brian PooleTodd C. Miller
2002-02-23check that user is not in group more thoroughly (don't assume anythingMarc Espie
about group contents). ok millert@
2002-02-18enable echo in signal handler, since it could be disabledEric Jackson
pr#1939
2001-12-22No Virginia, there is no adduser.conf(5).Todd C. Miller
2001-12-04All files are copied from the skel dir, not just dot.*Todd C. Miller
2001-10-09Don't try to use $groupname{$group_login} when we know it isTodd C. Miller
undefined. This caused adduser to not add a new login group when there was an entry like ":*::" in /etc/group due to a false positive on a broken sanity check. Since we *know* the gid of the new user's login group just use that.
2001-10-01Do proper initialization of hashes and lists. Use "cp -R" not "cp -r"Todd C. Miller
since the latter form is discouraged. From raj@cerias.purdue.edu
2001-09-07Cleanup from Brian Poole:Todd C. Miller
o remove useless copyright() sub since it does nothing o remov unused variables o clear hashes properly o grammar/spelling fixes o pass perl -w o unlock the ptmp file before we close it, not after o parse args in config_read() correctly o man page cleanup
2001-09-04another username limit issue; ianm@cit.uws.edu.auTheo de Raadt
2001-09-03correct error message when unable to open /etc/master.passwd; ↵Todd C. Miller
raj@cerias.purdue.edu
2001-08-17o) {Open,Net,Free}BSD -> .{O,N,F}x;Mike Pechkin
o) "start sentence on new line" issues; o) minimal -mdoc improvements; millert@ ok
2001-07-20we don't like:Mike Pechkin
o) .Pp before/after .Sh; o) .Pp before/after .Sh; o) .Nm without argument in SYNOPSIS;
2001-07-11since Feb'99 uid_end is 2147483647, not 32000.Mike Pechkin
millert@ ok
2001-07-06max uid should be 2147483647, not 2147483648.Mike Pechkin
problem report from: Chris Cameron <chris@UpNIX.com> millert@ ok
2001-05-29Missing .El; mpech@prosoft.org.lvAaron Campbell
2001-04-0931 vs 32; ianm@cit.uws.edu.auTheo de Raadt
2001-01-3132 character user namesChris Cappuccio
2000-12-30Change wording when empty password is entered: our adduser sets theAngelos D. Keromytis
password to "*" (thus disallowing logon) -- PR 1480
2000-11-26Use pwd_mkdb -u usernameTodd C. Miller
Call system() with a list to avoid a call to sh
2000-11-25Fix some warnings and take advantage of perl5 system definesTodd C. Miller
In adduser, use /etc/ptmp as a lock file like the other passwd programs. Currently it is just kept empty which is not so great. Use sysopen() with explicit file modes so there is no race whereby a user could see the contents on the master.passwd temp file in rmuser. Fix order of file opens in rmuser so we don't try and remove anything unless we can lock all our files.
2000-11-08- Get rid of ".Sh OPTIONS" and always use the standard options list intro.Aaron Campbell
- Move some BUGS/CAVEATS to the end of the man pages where they should go. - Correct some .Nm usage.
2000-10-10Remove useless line; mj@who.netTodd C. Miller
2000-08-19valid characters mismatch, PR#1362; Marty CombsJakob Schlyter
2000-07-09When a null password has been entered, default to ``no'' instead of ``yes''Aaron Campbell
for the confirmation.
2000-05-15/etc/mail/aliasesTheo de Raadt
2000-05-01skel now lives in /etcTodd C. Miller
2000-04-25change /usr/share/skel to /etc/skel. maintain dot.magic for backwards ↵Jakob Schlyter
compability.
2000-03-29no adduser_proc(8) anymoreTheo de Raadt
2000-03-19Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some otherAaron Campbell
cleanup along the way.
2000-01-03Y2K bug in logging function, tm_year is year - 1900, not the last two digitsTodd C. Miller
of year. Two digit years are just a bad idea anyway so convert to a four digit year in the logfile.
1999-11-13add /etc/group in FILES sectionEric Jackson
1999-10-08adduser_proc(8) go bye-bye; deraadt@ okAaron Campbell
1999-10-07adduser.messages -> adduser.messageEric Jackson
1999-09-06Send password to encrypt(1) via stdin. millert@ okAlex Feldman
1999-07-11Fix check for valid user name in interactive useMarc Espie
1999-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1999-07-09stop Makefile from trying to build now-defunct rmuser.8; form@vell.nsc.ruAaron Campbell
1999-07-08- use `#' prompts instead of `$' prompts (need to be root to run adduser)Aaron Campbell
- mdoc'ify the -batch option syntax properly
1999-07-08merge adduser(8) and rmuser(8) man pages, plus add more information... hmm,Aaron Campbell
could still probably use a bit of work
1999-07-03typosHugh Graham
1999-07-02consistent .Dd usage; proper format is: .Dd Month DD, YYYYAaron Campbell
1999-06-29grammar; form@kti.nsc.ruAaron Campbell
1999-06-17Dislexy strikes againMarc Espie
1999-06-17typoMarc Espie
1999-06-05remove trailing whitespace, some Nm cleanupAaron Campbell
1999-05-28more .El madnessAaron Campbell
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1999-02-04allow higher uids.Niels Provos
1999-01-18add 'old' as a synonym for 'des'Todd C. Miller
1999-01-16Fix PR# 692. evanc@concer.toTobias Weingartner