summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2003-06-18need "a". from jmcJun-ichiro itojun Hagino
2003-06-18relax config syntax; addrs#x is not needed any more. millert okJun-ichiro itojun Hagino
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-17Use getifaddrs() to get the list of interfaces. This fixes theTodd C. Miller
"wire" variable which may be used in amd maps to select an NFS server based on the subnet. Tested by matthieu@; OK by deraadt@
2003-06-17- document "-G netgroup";Jason McIntyre
from Kurt V. Hindenburg on misc@ - show that -i and -n are mutually exclusive - sync SYNOPSIS and usage() help from millert@
2003-06-17make Groupname match Groupid output; ok millert@Jason Peel
2003-06-16Bitwise AND was used where logical AND was intended; from mpech@Todd C. Miller
2003-06-16Add more paranoia and try to ensure created resolv.conf files have theKenneth R Westerback
correct owner and mode. Suggested by & ok millert@.
2003-06-15Add an OpenBSD style license/copyright.Kenneth R Westerback
Suggested by deraadt@, ok millert@.
2003-06-15small mdoc fixes;Jason McIntyre
ok millert@
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-14For moduser(), only do valid_class() check when F_CLASS is set inTodd C. Miller
up->u_flags. Fixes a coredump when changing/deleting an existing user introduced by my recent commit here.
2003-06-13Be more careful with resolv.conf. It may be a link (e.g. duringKenneth R Westerback
installs) so just pour new information into the existing file/link rather than removing and replacing it. Noticed by and fix tested by Jan Johansson. Several enhancements suggested as a result and in the pipeline. ok deraadt@ millert@
2003-06-13mdoc version of chat(8);Jason McIntyre
sanity checked and help from pjanzen@
2003-06-13license update from Paul Mackerras. This is now (c) Paul. Part of theJason McIntyre
man page was rewritten to replace work originally from CMU.
2003-06-12ansifyTheo de Raadt
2003-06-12remove term 3 & 4Theo de Raadt
2003-06-12- section reorderJason McIntyre
- macro fixes - kill whitespace at EOL - new sentence, new line
2003-06-12another UCB term 3 removalTheo de Raadt
2003-06-12Terms 3 and 4 have been removed from sbin/isakmpd/x509.c so theyTodd C. Miller
can go away here too.
2003-06-11some ansification, some de-registerTheo de Raadt
2003-06-11support for NAT-T (draft-ietf-ipsec-udp-encaps-06.txt); ok deraadt@Markus Friedl
2003-06-11mdoc version of pppd(8);Jason McIntyre
sanity checked and help from pjantzen@
2003-06-10Rework script using advanced coding techniques like a case statement,Kenneth R Westerback
factoring out common code to functions, consistant indenting, etc. Should be no semantic changes, just much easier to read, except for ensuring that certain cable companies no longer confuse the issue by supplying name server addresses without a domain name. Either will now result in the creation of an appropriate resolv.conf Inspired by PRs #2969 from Alexander Taler and #3135 from Jan Johansson. Fixes #3135 completely according to Jan. #2969 may have another item to fix. Tested by various, including tech@'ers Jan Johansson, Uwe A. P. Wuerdinger and Jim Rees. Let the flood of enhancements begin now that it can actually be read and understood ... ok deraadt@.
2003-06-10Add login class support; based on a diff from Peter WernerTodd C. Miller
2003-06-10Check that login class exists before using it; based on a patch fromTodd C. Miller
Peter Werner. Closes PR 2699.
2003-06-10o Check for fwrite() error with != 1, not <= 0 (mostly style)Todd C. Miller
o Correct some error messages o More informative error when reading a line that is > LINE_MAX o When saving password, only alloc space for what is used
2003-06-10Keep a table of password types, and their associated lengths, andTodd C. Miller
check in useradd or usermod whether the given encrypted password has the correct length. Factor out time code into a function, scantime() Perform ctype(3) operations on unsigned chars. From NetBSD (agc)
2003-06-10Use syslog(3) to log new users and groups, deletions of users and groups,Todd C. Miller
and modification of user and group information. Syslog priority is LOG_INFO, facility is LOG_USER (there is no need to do this via LOG_AUTH, since the password and group files are world readable). From NetBSD (agc)
2003-06-10Catch illegal flags and reply with usage; from NetBSD (agc)Todd C. Miller
2003-06-10o rename login variable to login_nameTodd C. Miller
o remove user from supplementary groups when deleting a user and not preserving information. o add some const o check that user/group is local (not YP) before trying to change it. From NetBSD (agc)
2003-06-10- removed obsolete section about rc.wscons and wscons.conf;Jason McIntyre
from Wouter Clarie - thanks!
2003-06-09missing copyright, found by deraadt@;Jason McIntyre
2003-06-09Fix my previous commit here, pwd_mkdb needs to be a list now too.Todd C. Miller
2003-06-08Sync man pages w/ NetBSD versionTodd C. Miller
2003-06-08Add usermgmt.conf man page. From NetBSD (grant)Todd C. Miller
2003-06-08user -e and -f now accepts "month day year" (ala chpass(1)) andTodd C. Miller
seconds-since-epoch. From NetBSD (grant).
2003-06-08Make c_word const; from NetBSD (tron)Todd C. Miller
2003-06-08Sanity check username length and convert to ANSI function headers.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-06-08Add check for group too long and made an invalid group a fatal errorTodd C. Miller
instead of just a warning which is consistent with the way an invalid user is treated.
2003-06-08Use _PW_NAME_LEN not MAXLOGNAME since the latter does not include the NUL.Todd C. Miller
2003-06-08use err/warnMichael Shalayeff
2003-06-06WIDE uses 3-term now; itojun okTheo de Raadt
2003-06-04mop up some more 3/4 license issuesTheo de Raadt
2003-06-04fix some more UCB term 3Theo de Raadt
2003-06-04kill terms 3 & 4Jason Wright
2003-06-04more 3/4 cleanups for lazy developersTheo de Raadt
2003-06-04another UCB one that can be fixed obviouslyTheo de Raadt