summaryrefslogtreecommitdiff
path: root/usr.sbin/adduser
AgeCommit message (Collapse)Author
2005-08-31Use ksh as the default shell instead of sh.Mark Kettenis
ok deraadt@
2005-06-07Don't restrict what login name may be removed, the account mayTodd C. Miller
have been made with a tool other than adduser and thus may use characters adduser considers illegal. OK henning@ and krw@
2005-04-25put EXAMPLES into a more standard format (first description, thenJason McIntyre
example), and use literal to mark up the commands themselves;
2005-04-25- login names may contain underscoresJason McIntyre
- reference to setlogin(2) BUGS was irrelevant, so remove it - mark up `$' from ray; ok millert@
2005-03-30Use getcap to pull out login.conf entries that contain a localcipherTodd C. Miller
entry instead of giving the user a list of all possible login classes. This makes the default list "daemon default staff" instead of listing all the stub classed only meant for inclusion into the real classes.
2005-02-24Close files after we are done with them; from mpech@Todd C. Miller
2004-03-09Clarify -unencrypted. Closes PR 3705.Tom Cosgrove
ok otto@, nick@, millert@
2004-01-23`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))Jason McIntyre
discussed with todd@
2003-09-02escape punctuation; (and a nit in openssl.1)Jason McIntyre
ok deraadt@
2003-06-21kill duplicate .Xr;Jason McIntyre
from Kent Spillner.
2003-06-17make Groupname match Groupid output; ok millert@Jason Peel
2003-06-14Add an "auto" encryption type that calls encrypt(1) with "-c class".Todd C. Miller
This results in encrypt(1) picking the password cipher based on the user's login class in /etc/login.conf.
2003-06-14Cipher type is set in login.conf, not passwd.conf these days; Otto MoerbeekTodd C. Miller
2003-06-12- section reorderJason McIntyre
- macro fixes - kill whitespace at EOL - new sentence, new line
2003-06-10Add login class support; based on a diff from Peter WernerTodd C. Miller
2003-06-09Fix my previous commit here, pwd_mkdb needs to be a list now too.Todd C. Miller
2003-06-08Instead of splitting a flat string into a list for system(), justTodd C. Miller
pass it a list in the first place. Also fix up some spacing.
2003-05-13Sync valid username check w/ user(1). Patch from Brian Poole,Todd C. Miller
problem reported by juncus on misc
2003-04-03skiped -> skipped;Jason McIntyre
from David Hill (thanks)
2003-03-11spellingDavid Krause
ok millert@
2003-01-29typos;Jason McIntyre
many tweaks by millert@ (thanks) thanks mpech@ for help with adduser(8) ok millert@
2002-07-10Fix encryption method prompt; Nick NauwelaertsTodd C. Miller
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-05-31Typo, "TMP_PW" used where "NEW_PW" was intended; fixes /etc/ptmpTodd C. Miller
deletion when rmuser is aborted. From Jason DiCioccio
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