close

0.download sudo from  http://www.courtesan.com/sudo/

1. mkdir /tools/sudo
2. cp/ftp  sudo-1.8.0.tar.gz

sudo download  

3.gunzip
total 2368
-rw-r-----    1 root     system      1209024 Jul 11 11:29 sudo-1.8.0.tar.gz
root@3n:/tools/sudo# gunzip sudo-1.8.0.tar.gz
root@3n:/tools/sudo# ls -l
total 9712
-rw-r-----    1 root     system      4966400 Jul 11 11:29 sudo-1.8.0.tar
root@vila3n:/tools/sudo# tar xvf sudo-1.8.0.tar


4.tar xvf sudo
 tar xvf sudo-1.8.0.tar
x sudo-1.8.0/ChangeLog, 703590 bytes, 1375 media blocks.
x sudo-1.8.0/INSTALL, 31407 bytes, 62 media blocks.
x sudo-1.8.0/INSTALL.configure, 7321 bytes, 15 media blocks.
x sudo-1.8.0/MANIFEST, 5236 bytes, 11 media blocks.
x sudo-1.8.0/Makefile.in, 3722 bytes, 8 media blocks.
x sudo-1.8.0/NEWS, 18524 bytes, 37 media blocks.
x sudo-1.8.0/README, 3812 bytes, 8 media blocks.
x sudo-1.8.0/README.LDAP, 7312 bytes, 15 media blocks.
x sudo-1.8.0/aclocal.m4, 9131 bytes, 18 media blocks.
x sudo-1.8.0/common/Makefile.in, 3776 bytes, 8 media blocks.
x sudo-1.8.0/common/aix.c, 4880 bytes, 10 media blocks.
x sudo-1.8.0/common/alloc.c, 5566 bytes, 11 media blocks.
x sudo-1.8.0/common/atobool.c, 1908 bytes, 4 media blocks.
x sudo-1.8.0/common/fileops.c, 3753 bytes, 8 media blocks.
x sudo-1.8.0/common/fmt_string.c, 1700 bytes, 4 media blocks.
x sudo-1.8.0/common/lbuf.c, 5827 bytes, 12 media blocks.
x sudo-1.8.0/common/list.c, 3793 bytes, 8 media blocks.
x sudo-1.8.0/common/term.c, 3507 bytes, 7 media blocks.
x sudo-1.8.0/common/zero_bytes.c, 1163 bytes, 3 media blocks.
x sudo-1.8.0/compat/Makefile.in, 6550 bytes, 13 media blocks.
x sudo-1.8.0/compat/charclass.h, 1317 bytes, 3 media blocks.
x sudo-1.8.0/compat/closefrom.c, 2991 bytes, 6 media blocks.
x sudo-1.8.0/compat/dlfcn.h, 1608 bytes, 4 media blocks.
x sudo-1.8.0/compat/dlopen.c, 2739 bytes, 6 media blocks.
x sudo-1.8.0/compat/fnmatch.c, 7554 bytes, 15 media blocks.
x sudo-1.8.0/compat/fnmatch.h, 2169 bytes, 5 media blocks.
x sudo-1.8.0/compat/getcwd.c, 6603 bytes, 13 media blocks.
x sudo-1.8.0/compat/getline.c, 2405 bytes, 5 media blocks.
x sudo-1.8.0/compat/getprogname.c, 1211 bytes, 3 media blocks.
x sudo-1.8.0/compat/glob.c, 20661 bytes, 41 media blocks.
x sudo-1.8.0/compat/glob.h, 3279 bytes, 7 media blocks.
x sudo-1.8.0/compat/isblank.c, 950 bytes, 2 media blocks.
x sudo-1.8.0/compat/memrchr.c, 1211 bytes, 3 media blocks.
x sudo-1.8.0/compat/mksiglist.c, 1560 bytes, 4 media blocks.
x sudo-1.8.0/compat/mksiglist.h, 4689 bytes, 10 media blocks.
x sudo-1.8.0/compat/mktemp.c, 3371 bytes, 7 media blocks.
x sudo-1.8.0/compat/nanosleep.c, 1650 bytes, 4 media blocks.
x sudo-1.8.0/compat/regress/fnmatch/fnm_test.c, 1171 bytes, 3 media blocks.
x sudo-1.8.0/compat/regress/fnmatch/fnm_test.in, 185 bytes, 1 media blocks.
x sudo-1.8.0/compat/regress/glob/files, 654 bytes, 2 media blocks.
x sudo-1.8.0/compat/regress/glob/globtest.c, 3597 bytes, 8 media blocks.
x sudo-1.8.0/compat/regress/glob/globtest.in, 929 bytes, 2 media blocks.
x sudo-1.8.0/compat/setenv.c, 2207 bytes, 5 media blocks.
x sudo-1.8.0/compat/siglist.in, 1763 bytes, 4 media blocks.
x sudo-1.8.0/compat/snprintf.c, 17006 bytes, 34 media blocks.
x sudo-1.8.0/compat/strlcat.c, 1745 bytes, 4 media blocks.
x sudo-1.8.0/compat/strlcpy.c, 1615 bytes, 4 media blocks.
x sudo-1.8.0/compat/strsignal.c, 1466 bytes, 3 media blocks.
x sudo-1.8.0/compat/timespec.h, 948 bytes, 2 media blocks.
x sudo-1.8.0/compat/unsetenv.c, 1876 bytes, 4 media blocks.
x sudo-1.8.0/compat/utime.h, 1017 bytes, 2 media blocks.
x sudo-1.8.0/compat/utimes.c, 1850 bytes, 4 media blocks.
x sudo-1.8.0/config.guess, 44843 bytes, 88 media blocks.
x sudo-1.8.0/config.h.in, 22804 bytes, 45 media blocks.
x sudo-1.8.0/config.sub, 34435 bytes, 68 media blocks.
x sudo-1.8.0/configure, 591637 bytes, 1156 media blocks.
x sudo-1.8.0/configure.in, 97147 bytes, 190 media blocks.
x sudo-1.8.0/doc/HISTORY, 2780 bytes, 6 media blocks.
x sudo-1.8.0/doc/LICENSE, 3844 bytes, 8 media blocks.
x sudo-1.8.0/doc/Makefile.in, 9528 bytes, 19 media blocks.
x sudo-1.8.0/doc/TROUBLESHOOTING, 9440 bytes, 19 media blocks.
x sudo-1.8.0/doc/UPGRADE, 9165 bytes, 18 media blocks.
x sudo-1.8.0/doc/history.pod, 2851 bytes, 6 media blocks.
x sudo-1.8.0/doc/license.pod, 3872 bytes, 8 media blocks.
x sudo-1.8.0/doc/sample.pam, 1182 bytes, 3 media blocks.
x sudo-1.8.0/doc/sample.sudo.conf, 823 bytes, 2 media blocks.
x sudo-1.8.0/doc/sample.sudoers, 4048 bytes, 8 media blocks.
x sudo-1.8.0/doc/sample.syslog.conf, 1075 bytes, 3 media blocks.
x sudo-1.8.0/doc/schema.ActiveDirectory, 7873 bytes, 16 media blocks.
x sudo-1.8.0/doc/schema.OpenLDAP, 2410 bytes, 5 media blocks.
x sudo-1.8.0/doc/schema.iPlanet, 2283 bytes, 5 media blocks.
x sudo-1.8.0/doc/sudo.cat, 31126 bytes, 61 media blocks.
x sudo-1.8.0/doc/sudo.man.in, 32338 bytes, 64 media blocks.
x sudo-1.8.0/doc/sudo.man.pl, 934 bytes, 2 media blocks.
x sudo-1.8.0/doc/sudo.pod, 23593 bytes, 47 media blocks.
x sudo-1.8.0/doc/sudo_plugin.cat, 50683 bytes, 99 media blocks.
x sudo-1.8.0/doc/sudo_plugin.man.in, 49301 bytes, 97 media blocks.
x sudo-1.8.0/doc/sudo_plugin.pod, 38741 bytes, 76 media blocks.
x sudo-1.8.0/doc/sudoers.cat, 99146 bytes, 194 media blocks.
x sudo-1.8.0/doc/sudoers.ldap.cat, 37276 bytes, 73 media blocks.
x sudo-1.8.0/doc/sudoers.ldap.man.in, 38366 bytes, 75 media blocks.
x sudo-1.8.0/doc/sudoers.ldap.pod, 28829 bytes, 57 media blocks.
x sudo-1.8.0/doc/sudoers.man.in, 91439 bytes, 179 media blocks.
x sudo-1.8.0/doc/sudoers.man.pl, 928 bytes, 2 media blocks.
x sudo-1.8.0/doc/sudoers.pod, 73060 bytes, 143 media blocks.
x sudo-1.8.0/doc/sudoreplay.cat, 12555 bytes, 25 media blocks.
x sudo-1.8.0/doc/sudoreplay.man.in, 14764 bytes, 29 media blocks.
x sudo-1.8.0/doc/sudoreplay.pod, 8968 bytes, 18 media blocks.
x sudo-1.8.0/doc/visudo.cat, 7934 bytes, 16 media blocks.
x sudo-1.8.0/doc/visudo.man.in, 12274 bytes, 24 media blocks.
x sudo-1.8.0/doc/visudo.pod, 6920 bytes, 14 media blocks.
x sudo-1.8.0/include/Makefile.in, 1980 bytes, 4 media blocks.
x sudo-1.8.0/include/alloc.h, 1248 bytes, 3 media blocks.
x sudo-1.8.0/include/error.h, 1105 bytes, 3 media blocks.
x sudo-1.8.0/include/fileops.h, 1170 bytes, 3 media blocks.
x sudo-1.8.0/include/lbuf.h, 1422 bytes, 3 media blocks.
x sudo-1.8.0/include/list.h, 1964 bytes, 4 media blocks.
x sudo-1.8.0/include/missing.h, 8341 bytes, 17 media blocks.
x sudo-1.8.0/include/sudo_plugin.h, 5027 bytes, 10 media blocks.
x sudo-1.8.0/indent.pro, 266 bytes, 1 media blocks.
x sudo-1.8.0/install-sh, 3968 bytes, 8 media blocks.
x sudo-1.8.0/ltmain.sh, 243248 bytes, 476 media blocks.
x sudo-1.8.0/m4/libtool.m4, 259710 bytes, 508 media blocks.
x sudo-1.8.0/m4/ltoptions.m4, 11938 bytes, 24 media blocks.
x sudo-1.8.0/m4/ltsugar.m4, 4372 bytes, 9 media blocks.
x sudo-1.8.0/m4/ltversion.m4, 703 bytes, 2 media blocks.
x sudo-1.8.0/m4/lt~obsolete.m4, 5707 bytes, 12 media blocks.
x sudo-1.8.0/mkinstalldirs, 1597 bytes, 4 media blocks.
x sudo-1.8.0/mkpkg, 5729 bytes, 12 media blocks.
x sudo-1.8.0/pathnames.h.in, 4082 bytes, 8 media blocks.
x sudo-1.8.0/plugins/sample/Makefile.in, 2991 bytes, 6 media blocks.
x sudo-1.8.0/plugins/sample/sample_plugin.c, 12989 bytes, 26 media blocks.
x sudo-1.8.0/plugins/sample_group/Makefile.in, 3122 bytes, 7 media blocks.
x sudo-1.8.0/plugins/sample_group/getgrent.c, 3910 bytes, 8 media blocks.
x sudo-1.8.0/plugins/sample_group/plugin_test.c, 4855 bytes, 10 media blocks.
x sudo-1.8.0/plugins/sample_group/sample_group.c, 3437 bytes, 7 media blocks.
x sudo-1.8.0/plugins/sudoers/Makefile.in, 16824 bytes, 33 media blocks.
x sudo-1.8.0/plugins/sudoers/aixcrypt.exp, 30 bytes, 1 media blocks.
x sudo-1.8.0/plugins/sudoers/alias.c, 4345 bytes, 9 media blocks.
x sudo-1.8.0/plugins/sudoers/audit.c, 1634 bytes, 4 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/API, 4909 bytes, 10 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/afs.c, 2467 bytes, 5 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/aix_auth.c, 2341 bytes, 5 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/bsdauth.c, 4411 bytes, 9 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/dce.c, 7101 bytes, 14 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/fwtk.c, 4457 bytes, 9 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/kerb4.c, 2902 bytes, 6 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/kerb5.c, 9086 bytes, 18 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/pam.c, 10089 bytes, 20 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/passwd.c, 3236 bytes, 7 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/rfc1938.c, 3919 bytes, 8 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/secureware.c, 2919 bytes, 6 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/securid.c, 2777 bytes, 6 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/securid5.c, 6081 bytes, 12 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/sia.c, 3572 bytes, 7 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/sudo_auth.c, 9612 bytes, 19 media blocks.
x sudo-1.8.0/plugins/sudoers/auth/sudo_auth.h, 4833 bytes, 10 media blocks.
x sudo-1.8.0/plugins/sudoers/boottime.c, 3044 bytes, 6 media blocks.
x sudo-1.8.0/plugins/sudoers/bsm_audit.c, 5209 bytes, 11 media blocks.
x sudo-1.8.0/plugins/sudoers/bsm_audit.h, 1030 bytes, 3 media blocks.
x sudo-1.8.0/plugins/sudoers/check.c, 19720 bytes, 39 media blocks.
x sudo-1.8.0/plugins/sudoers/def_data.c, 7908 bytes, 16 media blocks.
x sudo-1.8.0/plugins/sudoers/def_data.h, 7918 bytes, 16 media blocks.
x sudo-1.8.0/plugins/sudoers/def_data.in, 5979 bytes, 12 media blocks.
x sudo-1.8.0/plugins/sudoers/defaults.c, 19900 bytes, 39 media blocks.
x sudo-1.8.0/plugins/sudoers/defaults.h, 2827 bytes, 6 media blocks.
x sudo-1.8.0/plugins/sudoers/env.c, 21240 bytes, 42 media blocks.
x sudo-1.8.0/plugins/sudoers/find_path.c, 3755 bytes, 8 media blocks.
x sudo-1.8.0/plugins/sudoers/getdate.c, 41736 bytes, 82 media blocks.
x sudo-1.8.0/plugins/sudoers/getdate.y, 23154 bytes, 46 media blocks.
x sudo-1.8.0/plugins/sudoers/getspwuid.c, 4226 bytes, 9 media blocks.
x sudo-1.8.0/plugins/sudoers/goodpath.c, 1911 bytes, 4 media blocks.
x sudo-1.8.0/plugins/sudoers/gram.c, 46987 bytes, 92 media blocks.
x sudo-1.8.0/plugins/sudoers/gram.h, 1054 bytes, 3 media blocks.
x sudo-1.8.0/plugins/sudoers/gram.y, 17597 bytes, 35 media blocks.
x sudo-1.8.0/plugins/sudoers/group_plugin.c, 5208 bytes, 11 media blocks.
x sudo-1.8.0/plugins/sudoers/ins_2001.h, 1349 bytes, 3 media blocks.
x sudo-1.8.0/plugins/sudoers/ins_classic.h, 1355 bytes, 3 media blocks.
x sudo-1.8.0/plugins/sudoers/ins_csops.h, 1581 bytes, 4 media blocks.
x sudo-1.8.0/plugins/sudoers/ins_goons.h, 1970 bytes, 4 media blocks.
x sudo-1.8.0/plugins/sudoers/insults.h, 1639 bytes, 4 media blocks.
x sudo-1.8.0/plugins/sudoers/interfaces.c, 2975 bytes, 6 media blocks.
x sudo-1.8.0/plugins/sudoers/interfaces.h, 1773 bytes, 4 media blocks.
x sudo-1.8.0/plugins/sudoers/iolog.c, 17793 bytes, 35 media blocks.
x sudo-1.8.0/plugins/sudoers/iolog_path.c, 6135 bytes, 12 media blocks.
x sudo-1.8.0/plugins/sudoers/ldap.c, 65971 bytes, 129 media blocks.
x sudo-1.8.0/plugins/sudoers/linux_audit.c, 2487 bytes, 5 media blocks.
x sudo-1.8.0/plugins/sudoers/linux_audit.h, 944 bytes, 2 media blocks.
x sudo-1.8.0/plugins/sudoers/logging.c, 18983 bytes, 38 media blocks.
x sudo-1.8.0/plugins/sudoers/logging.h, 1768 bytes, 4 media blocks.
x sudo-1.8.0/plugins/sudoers/match.c, 21257 bytes, 42 media blocks.
x sudo-1.8.0/plugins/sudoers/mkdefaults, 3920 bytes, 8 media blocks.
x sudo-1.8.0/plugins/sudoers/parse.c, 16902 bytes, 34 media blocks.
x sudo-1.8.0/plugins/sudoers/parse.h, 5533 bytes, 11 media blocks.
x sudo-1.8.0/plugins/sudoers/plugin_error.c, 2620 bytes, 6 media blocks.
x sudo-1.8.0/plugins/sudoers/pwutil.c, 17835 bytes, 35 media blocks.
x sudo-1.8.0/plugins/sudoers/redblack.c, 13428 bytes, 27 media blocks.
x sudo-1.8.0/plugins/sudoers/redblack.h, 1840 bytes, 4 media blocks.
x sudo-1.8.0/plugins/sudoers/regress/iolog_path/check_iolog_path.c, 4506 bytes, 9 media blocks.
x sudo-1.8.0/plugins/sudoers/regress/iolog_path/data, 473 bytes, 1 media blocks.
x sudo-1.8.0/plugins/sudoers/regress/parser/check_fill.c, 4799 bytes, 10 media blocks.
x sudo-1.8.0/plugins/sudoers/regress/testsudoers/test1.ok, 80 bytes, 1 media blocks.
x sudo-1.8.0/plugins/sudoers/regress/testsudoers/test1.sh, 424 bytes, 1 media blocks.
x sudo-1.8.0/plugins/sudoers/regress/visudo/test1.ok, 17 bytes, 1 media blocks.
x sudo-1.8.0/plugins/sudoers/regress/visudo/test1.sh, 538 bytes, 2 media blocks.
x sudo-1.8.0/plugins/sudoers/set_perms.c, 22739 bytes, 45 media blocks.
x sudo-1.8.0/plugins/sudoers/sudo_nss.c, 8151 bytes, 16 media blocks.
x sudo-1.8.0/plugins/sudoers/sudo_nss.h, 1531 bytes, 3 media blocks.
x sudo-1.8.0/plugins/sudoers/sudoers.c, 39411 bytes, 77 media blocks.
x sudo-1.8.0/plugins/sudoers/sudoers.h, 9001 bytes, 18 media blocks.
x sudo-1.8.0/plugins/sudoers/sudoers.in, 2865 bytes, 6 media blocks.
x sudo-1.8.0/plugins/sudoers/sudoers2ldif, 3766 bytes, 8 media blocks.
x sudo-1.8.0/plugins/sudoers/sudoreplay.c, 23707 bytes, 47 media blocks.
x sudo-1.8.0/plugins/sudoers/testsudoers.c, 12874 bytes, 26 media blocks.
x sudo-1.8.0/plugins/sudoers/timestr.c, 1870 bytes, 4 media blocks.
x sudo-1.8.0/plugins/sudoers/toke.c, 116478 bytes, 228 media blocks.
x sudo-1.8.0/plugins/sudoers/toke.h, 1209 bytes, 3 media blocks.
x sudo-1.8.0/plugins/sudoers/toke.l, 18358 bytes, 36 media blocks.
x sudo-1.8.0/plugins/sudoers/toke_util.c, 5419 bytes, 11 media blocks.
x sudo-1.8.0/plugins/sudoers/tsgetgrpw.c, 6449 bytes, 13 media blocks.
x sudo-1.8.0/plugins/sudoers/tsgetgrpw.h, 2043 bytes, 4 media blocks.
x sudo-1.8.0/plugins/sudoers/visudo.c, 29541 bytes, 58 media blocks.
x sudo-1.8.0/pp, 199667 bytes, 390 media blocks.
x sudo-1.8.0/src/Makefile.in, 6346 bytes, 13 media blocks.
x sudo-1.8.0/src/conversation.c, 3433 bytes, 7 media blocks.
x sudo-1.8.0/src/error.c, 1864 bytes, 4 media blocks.
x sudo-1.8.0/src/exec.c, 14794 bytes, 29 media blocks.
x sudo-1.8.0/src/exec_pty.c, 29724 bytes, 59 media blocks.
x sudo-1.8.0/src/get_pty.c, 4404 bytes, 9 media blocks.
x sudo-1.8.0/src/load_plugins.c, 5749 bytes, 12 media blocks.
x sudo-1.8.0/src/net_ifs.c, 9592 bytes, 19 media blocks.
x sudo-1.8.0/src/parse_args.c, 16214 bytes, 32 media blocks.
x sudo-1.8.0/src/preload.c, 1142 bytes, 3 media blocks.
x sudo-1.8.0/src/selinux.c, 10594 bytes, 21 media blocks.
x sudo-1.8.0/src/sesh.c, 1696 bytes, 4 media blocks.
x sudo-1.8.0/src/sudo.c, 31875 bytes, 63 media blocks.
x sudo-1.8.0/src/sudo.h, 6086 bytes, 12 media blocks.
x sudo-1.8.0/src/sudo_edit.c, 9826 bytes, 20 media blocks.
x sudo-1.8.0/src/sudo_exec.h, 1613 bytes, 4 media blocks.
x sudo-1.8.0/src/sudo_noexec.c, 2868 bytes, 6 media blocks.
x sudo-1.8.0/src/sudo_plugin_int.h, 2772 bytes, 6 media blocks.
x sudo-1.8.0/src/sudo_usage.h.in, 1905 bytes, 4 media blocks.
x sudo-1.8.0/src/tgetpass.c, 8535 bytes, 17 media blocks.
x sudo-1.8.0/src/ttysize.c, 1945 bytes, 4 media blocks.
x sudo-1.8.0/sudo.pp, 7184 bytes, 15 media blocks.
x sudo-1.8.0/zlib/Makefile.in, 4576 bytes, 9 media blocks.
x sudo-1.8.0/zlib/adler32.c, 5048 bytes, 10 media blocks.
x sudo-1.8.0/zlib/compress.c, 2520 bytes, 5 media blocks.
x sudo-1.8.0/zlib/crc32.c, 13681 bytes, 27 media blocks.
x sudo-1.8.0/zlib/crc32.h, 30568 bytes, 60 media blocks.
x sudo-1.8.0/zlib/deflate.c, 67992 bytes, 133 media blocks.
x sudo-1.8.0/zlib/deflate.h, 12672 bytes, 25 media blocks.
x sudo-1.8.0/zlib/gzclose.c, 678 bytes, 2 media blocks.
x sudo-1.8.0/zlib/gzguts.h, 4677 bytes, 10 media blocks.
x sudo-1.8.0/zlib/gzlib.c, 14071 bytes, 28 media blocks.
x sudo-1.8.0/zlib/gzread.c, 20574 bytes, 41 media blocks.
x sudo-1.8.0/zlib/gzwrite.c, 14602 bytes, 29 media blocks.
x sudo-1.8.0/zlib/infback.c, 22622 bytes, 45 media blocks.
x sudo-1.8.0/zlib/inffast.c, 13439 bytes, 27 media blocks.
x sudo-1.8.0/zlib/inffast.h, 427 bytes, 1 media blocks.
x sudo-1.8.0/zlib/inffixed.h, 6343 bytes, 13 media blocks.
x sudo-1.8.0/zlib/inflate.c, 52623 bytes, 103 media blocks.
x sudo-1.8.0/zlib/inflate.h, 6399 bytes, 13 media blocks.
x sudo-1.8.0/zlib/inftrees.c, 13769 bytes, 27 media blocks.
x sudo-1.8.0/zlib/inftrees.h, 2928 bytes, 6 media blocks.
x sudo-1.8.0/zlib/trees.c, 45242 bytes, 89 media blocks.
x sudo-1.8.0/zlib/trees.h, 8472 bytes, 17 media blocks.
x sudo-1.8.0/zlib/uncompr.c, 1994 bytes, 4 media blocks.
x sudo-1.8.0/zlib/zconf.h.in, 13569 bytes, 27 media blocks.
x sudo-1.8.0/zlib/zlib.h, 79564 bytes, 156 media blocks.
x sudo-1.8.0/zlib/zutil.c, 7313 bytes, 15 media blocks.
x sudo-1.8.0/zlib/zutil.h, 7153 bytes, 14 media blocks.


5. cd sudo-1.7.0

6../configure
root@vila1n:/tools/sudo/sudo-1.7.0# ./configure
configure: Configuring Sudo version 1.7
checking whether to lecture users the first time they run sudo... yes
checking whether sudo should log via syslog or to a file by default... syslog
checking which syslog facility sudo should log with... local2
checking at which syslog priority to log commands... notice
checking at which syslog priority to log failures... alert
checking how long a line in the log file should be... 80
checking whether sudo should ignore '.' or '' in $PATH... no
checking whether to send mail when a user is not in sudoers... yes
checking whether to send mail when user listed but not for this host... no
checking whether to send mail when a user tries a disallowed command... no
checking who should get the mail that sudo sends... root
checking for bad password prompt... Password:
checking for bad password message... Sorry, try again.
checking whether to expect fully qualified hosts in sudoers... no
checking for umask programs should be run with... 0022
checking for default user to run commands as... root
checking for editor that visudo should use... vi
checking whether to obey EDITOR and VISUAL environment variables... no
checking number of tries a user gets to enter their password... 3
checking time in minutes after which sudo will ask for a password again... 5
checking time in minutes after the password prompt will time out... 5
checking whether to use per-tty ticket files... no
checking whether to include insults... no
checking whether to override the user's path... no
checking whether to get ip addresses from the network interfaces... yes
checking whether stow should be used... no
checking whether to use an askpass helper... no
checking whether to do user authentication by default... yes
checking whether to disable running the mailer as root... no
checking whether to disable shadow password support... no
checking whether root should be allowed to use sudo... yes
checking whether to log the hostname in the log file... no
checking whether to invoke a shell if sudo is given no arguments... no
checking whether to set $HOME to target user in shell mode... no
checking whether to disable 'command not found' messages... no
checking for egrep... egrep
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... (cached) no
checking for cc option to accept ISO C89... -qlanglvl=ansi
checking for library containing strerror... none required
checking how to run the C preprocessor... cc -qlanglvl=ansi -E
checking build system type... powerpc-ibm-aix5.3.0.0
checking host system type... powerpc-ibm-aix5.3.0.0
checking target system type... powerpc-ibm-aix5.3.0.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 786432
checking command to parse /usr/bin/nm -B output from cc -qlanglvl=ansi object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for cc -qlanglvl=ansi option to produce PIC...
checking if cc -qlanglvl=ansi static flag -bnso -bI:/lib/syscalls.exp works... no
checking if cc -qlanglvl=ansi supports -c -o file.o... yes
checking whether the cc -qlanglvl=ansi linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... aix5.3.0.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
checking path to sudo_noexec.so... ${exec_prefix}/libexec/sudo_noexec.so
checking for uname... uname
checking for tr... tr
checking for nroff... nroff
checking if linker accepts -Wl,-blibpath... yes
checking for authenticate... yes
checking for getuserattr... yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for bison... no
checking for byacc... no
checking for mv... /usr/bin/mv
checking for bourne shell... /bin/sh
checking for sendmail... /usr/sbin/sendmail
checking for vi... /usr/bin/vi
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking paths.h usability... no
checking paths.h presence... no
checking for paths.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking netgroup.h usability... no
checking netgroup.h presence... no
checking for netgroup.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/bsdtypes.h usability... no
checking sys/bsdtypes.h presence... no
checking for sys/bsdtypes.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking POSIX termios... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for __signed char... no
checking for signed char... yes
checking for sig_atomic_t... yes
checking for sigaction_t... no
checking for struct timespec... yes
checking for struct in6_addr... yes
checking for size_t... yes
checking for ssize_t... yes
checking for dev_t... yes
checking for ino_t... yes
checking max length of uid_t... 10
checking for long long... yes
checking for long and long long equivalence... no
checking for sa_len field in struct sockaddr... yes
checking return type of signal handlers... void
checking type of array argument to getgroups... gid_t
checking for size_t... yes
checking for getgroups... yes
checking for working getgroups... yes
checking for strchr... yes
checking for strrchr... yes
checking for memchr... yes
checking for memcpy... yes
checking for memset... yes
checking for sysconf... yes
checking for tzset... yes
checking for strftime... yes
checking for setrlimit... yes
checking for initgroups... yes
checking for getgroups... (cached) yes
checking for fstat... yes
checking for gettimeofday... yes
checking for setlocale... yes
checking for getaddrinfo... yes
checking for setsid... yes
checking for setresuid... no
checking for setreuid... yes
checking for getifaddrs... no
checking for getcwd... yes
checking for glob... yes
checking for GLOB_BRACE and GLOB_TILDE in glob.h... no
checking for lockf... yes
checking for waitpid... yes
checking for innetgr... yes
checking for getdomainname... yes
checking for utimes... yes
checking for futimes... no
checking for futimesat... no
checking for working fnmatch with FNM_CASEFOLD... no
checking for isblank... yes
checking for memrchr... no
checking for strerror... yes
checking for strcasecmp... yes
checking for sigaction... yes
checking for strlcpy... no
checking for strlcat... no
checking for closefrom... no
checking whether F_CLOSEM is declared... yes
checking for mkstemp... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for asprintf... no
checking for vasprintf... no
checking for struct stat.st_mtim... no
checking for struct stat.st_mtimespec... no
checking for two-parameter timespecsub... no
checking for socket... yes
checking for inet_addr... yes
checking for syslog... yes
checking for getprogname... no
checking for __progname... no
configure: using AIX general authentication
checking for log file location... /var/log/sudo.log
checking for timestamp file location... /var/adm/sudo
configure: using the following authentication methods: aix_auth
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sudo.man
config.status: creating visudo.man
config.status: creating sudoers.man
config.status: creating sudoers.ldap.man
config.status: creating sudo_usage.h
config.status: creating config.h
config.status: creating pathnames.h

/tools/sudo/sudo-1.7.0# make
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./gram.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./alias.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./alloc.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./defaults.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./error.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./list.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./match.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./toke.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./redblack.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./zero_bytes.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./auth/sudo_auth.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./auth/aix_auth.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./check.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./env.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./getspwuid.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./gettime.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./goodpath.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./fileops.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./find_path.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./interfaces.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./lbuf.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./logging.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./parse.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./pwutil.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./set_perms.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo_edit.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo_nss.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./tgetpass.c
"./tgetpass.c", line 114.17: 1506-112 (E) Duplicate type qualifier "volatile" ignored.
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./glob.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./fnmatch.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./memrchr.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./strlcpy.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./strlcat.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./closefrom.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./snprintf.c
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./getprogname.c
        cc -qlanglvl=ansi -o sudo gram.o alias.o alloc.o defaults.o error.o list.o match.o  toke.o redblack.o zero_bytes.o sudo_auth.o aix_auth.o  aix.o check.o env.o  getspwuid.o gettime.o goodpath.o fileops.o find_path.o  interfaces.o lbuf.o logging.o parse.o pwutil.o set_perms.o  sudo.o sudo_edit.o sudo_nss.o tgetpass.o glob.o fnmatch.o memrchr.o strlcpy.o strlcat.o closefrom.o snprintf.o getprogname.o -Wl,-bI:./aixcrypt.exp  -ls
        cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./visudo.c
        cc -qlanglvl=ansi -o visudo gram.o alias.o alloc.o defaults.o error.o list.o match.o  toke.o redblack.o zero_bytes.o visudo.o fileops.o gettime.o goodpath.o  find_path.o pwutil.o glob.o fnmatch.o memrchr.o strlcpy.o strlcat.o closefrom.o snprintf.o getprogname.o
Target "all" is up to date.


/tools/sudo/sudo-1.7.0# make install
        /bin/sh ./mkinstalldirs /usr/local/bin  /usr/local/sbin /etc  /usr/local/man/man8 /usr/local/man/man5  /usr/local/libexec
mkdir /usr/local
mkdir /usr/local/bin
mkdir /usr/local/sbin
mkdir /usr/local/man
mkdir /usr/local/man/man8
mkdir /usr/local/man/man5
mkdir /usr/local/libexec
        /bin/sh ./install-sh -c -O 0 -G 0 -M 4111 -s sudo /usr/local/bin/sudo
        rm -f /usr/local/bin/sudoedit
        ln /usr/local/bin/sudo /usr/local/bin/sudoedit
        /bin/sh ./install-sh -c -O 0 -G 0 -M 0111 -s visudo /usr/local/sbin/visudo
        test -f .libs/sudo_noexec.so && /bin/sh ./install-sh -c -O 0 -G 0 -M 0755 .libs/sudo_noexec.so /usr/local/libexec
        test -f /etc/sudoers ||  /bin/sh ./install-sh -c -O 0 -G 0 -M 0440  ./sudoers /etc/sudoers
        /bin/sh ./install-sh -c -O 0 -G 0 -M 0444 ./sudo.man /usr/local/man/man8/sudo.8
        ln /usr/local/man/man8/sudo.8 /usr/local/man/man8/sudoedit.8
        /bin/sh ./install-sh -c -O 0 -G 0 -M 0444 ./visudo.man /usr/local/man/man8/visudo.8
        /bin/sh ./install-sh -c -O 0 -G 0 -M 0444 ./sudoers.man /usr/local/man/man5/sudoers.5
        #/bin/sh ./install-sh -c -O 0 -G 0 -M 0444 ./sudoers.ldap.man /usr/local/man/man5/sudoers.ldap.5
Target "install" is up to date.


.profile add /usr/local/bin PATH

arrow
arrow
    文章標籤
    install sudo AIX 5.3
    全站熱搜

    哈哈小熊 發表在 痞客邦 留言(0) 人氣()