freebsd-dev/usr.bin
Bill Paul 9219423651 Make use_yp() smarter about figuring out whether a user is local or
NIS (or both, or neither). Also add support for -l and -y flags to
force behavior to local or NIS. use_yp() also goes out of its way to
retrieve the correct password database information (local or NIS)
depending on what the situation since getpwent() & co. can't
necessarily be trusted in some cases.

Also document new flags in man page.
1995-09-02 03:56:21 +00:00
..
apply Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
apropos BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
ar Replace old strftime format by %c, old format forces "Mon Day", 1995-08-08 03:32:03 +00:00
at Upgrade to 2.9 1995-08-21 12:34:18 +00:00
banner Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
basename BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
bdes BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
biff BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
cal Change the weekday abbrevaiations to two letters each. This reduces 1995-07-22 22:14:49 +00:00
calendar Delete bogus referneces to timezone code internal header file `tzfile.h', 1995-08-07 19:17:46 +00:00
cap_mkdb BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
chat Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
checknr Terminate string copied by strncpy() by '\0' to fix a core dump. 1995-06-30 04:59:44 +00:00
chflags Set NOSHARED=true, having this binary static makes it much easier to 1995-07-24 01:44:17 +00:00
chpass Make use_yp() smarter about figuring out whether a user is local or 1995-09-02 03:56:21 +00:00
cksum BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
cmp I don't like what they did to cmp(1) in 4.4 Lite; now it whines all 1994-08-20 11:14:07 +00:00
col Obtained from: looked at the fix in 1.1.5 and rewrote it 1995-01-17 07:02:31 +00:00
colcrt BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
colldef Rename, lt_LN.ISO8859-1 -> lt_LN.ISO_8859-1. 1995-06-19 22:15:35 +00:00
colrm BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
column BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
comm BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
compile_et According to stdlib.h, malloc and realloc return void * but error_table.y 1995-03-15 19:05:28 +00:00
compress Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
cpp Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
ctags BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
cut Fix wrong separator output 1995-03-21 00:26:32 +00:00
devmenu Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
diff BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
dig Update the DNS tools from 4.9.3-b9 -> 4.9.3-b24 1995-08-20 22:32:57 +00:00
dirname Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
du Restore the reference to quot(8). 1995-08-13 09:39:23 +00:00
ee Fix error: while getting file name, backspace not works, but produce 1995-08-30 17:42:28 +00:00
env BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
error Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
expand BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
f2c Don't default to -g in ${CFLAGS}. Developers can still use `make g=-g ...' 1995-01-21 14:41:45 +00:00
false BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
fib Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
file Sanitize the PGP strings a bit. 1995-08-03 07:11:45 +00:00
file2c This is a small little program used to execute a bad practice a clean way :-) 1995-01-29 00:49:57 +00:00
find Delete bogus referneces to timezone code internal header file `tzfile.h', 1995-08-07 19:17:46 +00:00
finger Allow national printable chars in .plan 1995-08-08 00:45:21 +00:00
fmt Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
fold BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
fpr BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
from BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
fsplit Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
fstat Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
ftp Use data ports in the range 40000..44999 by default to enhance FTP usability 1995-08-05 19:12:05 +00:00
gcore Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
gencat Accept escaped quotes in msg catalogs. 1995-08-26 18:37:49 +00:00
getopt Added README which explains the copyright status of getopt(1) 1993-07-27 17:24:17 +00:00
gprof Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
grep/egrep Add dependencies on libraries to DPADD. Someday this should be done 1994-08-28 18:49:06 +00:00
head head(1) ignored EOFs (in certain cases). 1995-08-15 19:34:11 +00:00
hexdump Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
host Update the DNS tools from 4.9.3-b9 -> 4.9.3-b24 1995-08-20 22:32:57 +00:00
id Fixed bug where 'id <user>' output the wrong group name (the user name 1995-08-28 10:23:58 +00:00
indent Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
ipcrm Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
ipcs Instantiate our own variables instead of depending on bogus common 1995-07-12 19:10:17 +00:00
join Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
jot BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
kdump Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
key Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
keyinfo Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
keyinit Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
killall Our Perl oracle hit again: Wolfram Schneider's killall utility. 1995-06-25 18:08:27 +00:00
ktrace Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
kzip Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
lam BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
last Delete bogus referneces to timezone code internal header file `tzfile.h', 1995-08-07 19:17:46 +00:00
lastcomm Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
ld BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
ldd Updated to recent version of Paul K.'s shlib code. This code has better 1994-12-23 22:31:35 +00:00
leave BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
lex Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
locate Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
lock Add dependencies on libraries to DPADD. Someday this should be done 1994-08-28 18:49:06 +00:00
logger BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
login Delete bogus referneces to timezone code internal header file `tzfile.h', 1995-08-07 19:17:46 +00:00
logname BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
look Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
lorder Change install' to ${INSTALL}' as usual. 1995-07-25 00:22:50 +00:00
lsvfs Fix bonehead formatting error. 1995-03-16 21:43:03 +00:00
m4 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
mail '#' is not a comment if a non-space char follow 1995-08-15 19:40:26 +00:00
make Back out prev. NetBSD fix, it cause skipping some error constructions, 1995-06-24 17:34:15 +00:00
man BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
mesg BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
mk_cmds Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
mkdep Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
mkfifo BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
mklocale Rename ISO8859-1 to ISO_8859-1 per RFC1700 1995-06-17 03:25:34 +00:00
mkstr BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
modstat Undo the stupidity I inflicted on these files and replace it with 1995-04-20 05:08:53 +00:00
more Remove _set_ospeed, trick done in tgetent now 1995-08-05 21:25:28 +00:00
msgs usr/ucb -> usr/bin and usr/msgs -> var/msgs. 1995-06-25 03:52:30 +00:00
mt Remove the dangerous "eof" command that used to be an alias for "weof" 1995-07-16 10:16:26 +00:00
ncftp Fix up warning about qsort parameters 1995-08-23 04:51:05 +00:00
netstat Output statistics as unsigned in the -w section. 1995-07-29 22:34:15 +00:00
nfsstat Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
nice BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
nm Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
nohup BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
pagesize Change install' to ${INSTALL}' as usual. 1995-07-25 00:22:50 +00:00
passwd Remove bogus ${DESTDIR}s from LINKS. 1995-08-17 11:26:42 +00:00
paste BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
patch BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
pr Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
printenv BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
printf Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
quota Fix 3 fatal mismatches in format args involving dbtob() and 10 nonfatal 1995-05-07 08:33:39 +00:00
ranlib Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
rdist Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
renice Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
rev BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
rlogin Back out speed reducing to 38400 for old remote rlogind. 1995-08-03 23:54:49 +00:00
rpcgen Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
rpcinfo Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
rs BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
rsh Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
rup Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
ruptime Delete bogus referneces to timezone code internal header file `tzfile.h', 1995-08-07 19:17:46 +00:00
rusers Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
rwall Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
rwho Change ctime to strftime %c to use national date/time representation. 1995-08-08 00:15:16 +00:00
sccs BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
script Delete bogus referneces to timezone code internal header file `tzfile.h', 1995-08-07 19:17:46 +00:00
sed Merge various fixes from NetBSD. This will allow the WordPerfect for 1995-08-16 05:56:44 +00:00
sgmlfmt Command line arguments are now gathered by NewGetOpt. Command line 1995-08-31 00:14:02 +00:00
sgmls Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
shar Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
showmount Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
size BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
soelim BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
sort BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
split This fixes 'split -l NNN foo'. As it stands split will 1995-07-07 08:23:52 +00:00
strings >Description: 1995-02-15 02:47:47 +00:00
strip Add the maybe_stripped to a CLEANFILES target to get a clean obj directory 1995-08-01 21:53:35 +00:00
su Check for expired passwords before allowing access to the system. 1995-08-28 21:30:59 +00:00
symorder Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
systat Don't attempt to read the variable total' from the kernel. total' 1995-07-12 20:09:02 +00:00
tail BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
talk Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
tconv Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
tcopy BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
tee BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
telnet Oh foo. I should a) learn to read. b) learn to think. :-) 1995-08-28 17:52:39 +00:00
tftp Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
time Submitted by: Ollivier ROBERT roberto@keltia.frmug.fr.net 1995-02-18 20:44:55 +00:00
timedef Fix pm name after some time playing with 1995-08-05 23:53:33 +00:00
tip Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
tn3270 Eliminate a few more lurking obj bogons. 1995-08-06 02:52:40 +00:00
touch PR # bin/274 1995-07-08 16:47:47 +00:00
tput Remove _set_ospeed, done in tgetent now. 1995-08-05 21:33:11 +00:00
tr Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
true BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
tset Remove _set_ospeed, done in tgetent now. 1995-08-05 21:33:11 +00:00
tsort Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
tty BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
ul Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
uname BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
unexpand BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
unifdef BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
uniq BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
unvis BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
users Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
uucp More merry makefile munging for man page compatability. 1994-08-05 19:00:04 +00:00
uudecode BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
uuencode More merry makefile munging for man page compatability. 1994-08-05 19:00:04 +00:00
vacation Delete bogus referneces to timezone code internal header file `tzfile.h', 1995-08-07 19:17:46 +00:00
vgrind Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
vi Fix infamous "TIOCGWINSZ: Interrupted system call" on return from a ^Z 1995-08-07 16:44:28 +00:00
vis Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
vmstat Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
w Delete bogus referneces to timezone code internal header file `tzfile.h', 1995-08-07 19:17:46 +00:00
wall The talkd security hole can ealso be exploited by wall (and thus rwall). 1994-10-23 15:33:55 +00:00
watch Rewrite manual page to use mandoc correctly and fix english grammar. 1995-02-22 23:47:51 +00:00
wc BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
what Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
whatis BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
whereis BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
which Submitted by: Wolfram Schneider <w@cs.tu-berlin.de> 1995-08-02 07:30:37 +00:00
who Replace ctime by strftime %c to use national date representation now 1995-08-07 23:39:58 +00:00
whois BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
window Remove _set_ospeed, it is done in tgetent 1995-08-05 22:04:23 +00:00
write BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
xargs BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
xinstall Backed out change in rev 1.2. 1995-08-27 02:02:19 +00:00
xstr Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
yacc Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
yes BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
ypcat Move more YP user programs over. 1994-08-08 01:13:35 +00:00
ypmatch Submitted by: Sebastian Strollo <seb@erix.ericsson.se> 1995-03-25 23:26:54 +00:00
ypwhich Slightly better message for `ypwhich -x': 1995-07-20 16:30:15 +00:00
Makefile Add ee. 1995-08-30 09:52:07 +00:00
Makefile.inc BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00