Hi,
I got this link and downloaded sudo package to install.
While going thorugh the process I got stuck in between.
As per the above URL, at point no. 3 I got stuck ..
3. Compile the source code and install sudo:
Configure the compilation process for your system:
1. ./configure
Compile the source code:
1. make
And install the compiled code:
1. make install
This install the sudo program into /usr/local/bin, the visudo script (see later) into /usr/local/sbin and the manual page into subdirectories of /usr/local/man.
I have executed ./configure and it basically extraced the files and created config.log
Next step is telling, compile the source code :-
=================================================
1. make
What needs to be done at this point ? What would be the command with righr flag ?
root@snswmspd1: /opt/source/sudo/sudo-1.6.8p12 > make
make: make 1254-025 There must be an existing description file or specify a target.
Here is the list of files under /opt/source/sudo/sudo-1.6.8p12 directory :-
-rw-r--r-- 1 8036 system 261 Nov 27 1993 indent.pro
-rw-r--r-- 1 8036 system 30 May 28 1994 aixcrypt.exp
-rw-r--r-- 1 8036 system 13192 Jun 25 1996 alloca.c
-rw-r--r-- 1 8036 system 7721 Aug 17 1996 INSTALL.configure
-rw-r--r-- 1 8036 system 946 Sep 08 1999 sample.syslog.conf
-rw-r--r-- 1 8036 system 4730 Nov 05 1999 strcasecmp.c
-rw-r--r-- 1 8036 system 3586 Dec 14 2001 lsearch.c
-rw-r--r-- 1 8036 system 17743 Dec 14 2001 snprintf.c
-rwxr-xr-x 1 8036 system 3784 Jan 10 2002 install-sh
-rw-r--r-- 1 8036 system 4791 Jan 21 2002 PORTING
-rw-r--r-- 1 8036 system 3858 Apr 02 2003 README
-rwxr-xr-x 1 8036 system 1661 Apr 03 2003 mkinstalldirs
-rw-r--r-- 1 8036 system 4090 May 30 2003 fnmatch.3
-rw-r--r-- 1 8036 system 4049 Dec 31 2003 err.c
-rw-r--r-- 1 8036 system 180051 Jan 09 2004 ltmain.sh
-rw-r--r-- 1 8036 system 205826 Jan 09 2004 acsite.m4
-rw-r--r-- 1 8036 system 6524 Jan 29 2004 fnmatch.c
-rw-r--r-- 1 8036 system 2902 Feb 12 2004 sudoers2ldif
-rw-r--r-- 1 8036 system 1420 Feb 13 2004 strerror.c
-rw-r--r-- 1 8036 system 2781 Feb 13 2004 sigaction.c
-rw-r--r-- 1 8036 system 1572 Feb 13 2004 interfaces.h
-rw-r--r-- 1 8036 system 8684 Feb 13 2004 interfaces.c
-rw-r--r-- 1 8036 system 1693 Feb 13 2004 insults.h
-rw-r--r-- 1 8036 system 2036 Feb 13 2004 ins_goons.h
-rw-r--r-- 1 8036 system 1423 Feb 13 2004 ins_classic.h
-rw-r--r-- 1 8036 system 1414 Feb 13 2004 ins_2001.h
-rw-r--r-- 1 8036 system 2565 Feb 13 2004 defaults.h
-rw-r--r-- 1 8036 system 1264 Feb 13 2004 zero_bytes.c
-rw-r--r-- 1 8036 system 1710 Feb 14 2004 strlcpy.c
-rw-r--r-- 1 8036 system 1842 Feb 14 2004 strlcat.c
-rw-r--r-- 1 8036 system 14976 May 17 2004 logging.c
-rw-r--r-- 1 8036 system 10182 May 17 2004 parse.lex
-rw-r--r-- 1 8036 system 3997 May 17 2004 sample.sudoers
-rw-r--r-- 1 8036 system 1162 May 27 2004 BUGS
-rw-r--r-- 1 8036 system 13018 May 27 2004 set_perms.c
-rw-r--r-- 1 8036 system 3429 May 30 2004 UPGRADE
-rw-r--r-- 1 8036 system 5376 Jun 01 2004 alloc.c
-rw-r--r-- 1 8036 system 2657 Jun 01 2004 closefrom.c
-rw-r--r-- 1 8036 system 1491 Jun 03 2004 getprogname.c
-rw-r--r-- 1 8036 system 6730 Jun 06 2004 getcwd.c
-rw-r--r-- 1 8036 system 6350 Jun 06 2004 tgetpass.c
-rw-r--r-- 1 8036 system 1631 Jun 06 2004 logging.h
-rw-r--r-- 1 8036 system 608 Jun 06 2004 sudoers
-rw-r--r-- 1 8036 system 9920 Aug 02 2004 testsudoers.c
-rw-r--r-- 1 8036 system 1971 Aug 16 2004 HISTORY
-rw-r--r-- 1 8036 system 4073 Aug 24 2004 find_path.c
-rw-r--r-- 1 8036 system 2043 Aug 24 2004 goodpath.c
-rw-r--r-- 1 8036 system 3063 Aug 26 2004 pathnames.h.in
-rw-r--r-- 1 8036 system 15442 Sep 02 2004 README.LDAP
-rw-r--r-- 1 8036 system 1185 Sep 06 2004 sample.pam
-rw-r--r-- 1 8036 system 7195 Sep 06 2004 visudo.pod
-rw-r--r-- 1 8036 system 9698 Sep 07 2004 aclocal.m4
-rw-r--r-- 1 8036 system 1580 Sep 08 2004 gettime.c
-rw-r--r-- 1 8036 system 3010 Sep 08 2004 fileops.c
-rw-r--r-- 1 8036 system 6444 Sep 10 2004 compat.h
-rw-r--r-- 1 8036 system 1814 Sep 11 2004 utimes.c
-rw-r--r-- 1 8036 system 9549 Sep 14 2004 RUNSON
-rw-r--r-- 1 8036 system 1638 Sep 14 2004 ins_csops.h
-rw-r--r-- 1 8036 system 29482 Sep 14 2004 INSTALL
-rw-r--r-- 1 8036 system 77223 Nov 11 2004 lex.yy.c
-rw-r--r-- 1 8036 system 18930 Nov 11 2004 sudo.pod
-rw-r--r-- 1 8036 system 76277 Nov 25 2004 configure.in
-rw-r--r-- 1 8036 system 16789 Nov 25 2004 config.h.in
-rw-r--r-- 1 8036 system 9527 Nov 25 2004 sudo_edit.c
-rw-r--r-- 1 8036 system 17111 Nov 25 2004 visudo.c
-rw-r--r-- 1 8036 system 18042 Nov 26 2004 defaults.c
-rw-r--r-- 1 8036 system 4286 Nov 28 2004 def_data.in
-rw-r--r-- 1 8036 system 44838 Nov 28 2004 sudoers.pod
-rwxr-xr-x 1 8036 system 3850 Nov 29 2004 mkdefaults
-rw-r--r-- 1 8036 system 5827 Nov 29 2004 def_data.h
-rw-r--r-- 1 8036 system 5904 Nov 29 2004 def_data.c
-rw-r--r-- 1 8036 system 8556 Feb 05 2005 TROUBLESHOOTING
-rw-r--r-- 1 8036 system 2810 Feb 05 2005 LICENSE
-rw-r--r-- 1 8036 system 3314 Mar 12 2005 sudo_noexec.c
-rw-r--r-- 1 8036 system 7619 Mar 23 2005 sudo.h
-rw-r--r-- 1 8036 system 7021 Mar 23 2005 getspwuid.c
-rw-r--r-- 1 8036 system 14639 Mar 24 2005 check.c
-rw-r--r-- 1 8036 system 40146 May 31 2005 config.guess
-rwxr-xr-x 1 8036 system 29889 May 31 2005 config.sub
-rw-r--r-- 1 8036 system 29353 Jun 19 2005 parse.yacc
-rw-r--r-- 1 8036 system 2615 Jun 19 2005 parse.h
-rw-r--r-- 1 8036 system 13642 Jun 19 2005 parse.c
-rw-r--r-- 1 8036 system 683 Jun 19 2005 sudo.tab.h
-rw-r--r-- 1 8036 system 54757 Jun 19 2005 sudo.tab.c
-rw-r--r-- 1 8036 system 30904 Jun 19 2005 sudo.c
-rw-r--r-- 1 8036 system 24559 Jun 19 2005 ldap.c
-rwxr-xr-x 1 8036 system 960786 Oct 27 2005 configure
-rw-r--r-- 1 8036 system 5466 Oct 27 2005 TODO
-rw-r--r-- 1 8036 system 14205 Nov 08 2005 env.c
-rw-r--r-- 1 8036 system 14870 Nov 08 2005 Makefile.in
-rw-r--r-- 1 8036 system 1195 Nov 08 2005 version.h
-rw-r--r-- 1 8036 system 25969 Nov 08 2005 sudo.man.in
-rw-r--r-- 1 8036 system 57727 Nov 08 2005 sudoers.man.in
-rw-r--r-- 1 8036 system 12157 Nov 08 2005 visudo.man.in
-rw-r--r-- 1 8036 system 23303 Nov 08 2005 sudo.cat
-rw-r--r-- 1 8036 system 60958 Nov 08 2005 sudoers.cat
-rw-r--r-- 1 8036 system 8098 Nov 08 2005 visudo.cat
-rw-r--r-- 1 8036 system 67152 Nov 08 2005 CHANGES
drwxr-xr-x 2 8036 system 256 Mar 14 12:08 emul
drwxr-xr-x 2 8036 system 4096 Mar 14 12:08 auth
-rw-r--r-- 1 root system 8275 Mar 14 12:09 config.log
- Tia ..
I got this link and downloaded sudo package to install.
While going thorugh the process I got stuck in between.
As per the above URL, at point no. 3 I got stuck ..
3. Compile the source code and install sudo:
Configure the compilation process for your system:
1. ./configure
Compile the source code:
1. make
And install the compiled code:
1. make install
This install the sudo program into /usr/local/bin, the visudo script (see later) into /usr/local/sbin and the manual page into subdirectories of /usr/local/man.
I have executed ./configure and it basically extraced the files and created config.log
Next step is telling, compile the source code :-
=================================================
1. make
What needs to be done at this point ? What would be the command with righr flag ?
root@snswmspd1: /opt/source/sudo/sudo-1.6.8p12 > make
make: make 1254-025 There must be an existing description file or specify a target.
Here is the list of files under /opt/source/sudo/sudo-1.6.8p12 directory :-
-rw-r--r-- 1 8036 system 261 Nov 27 1993 indent.pro
-rw-r--r-- 1 8036 system 30 May 28 1994 aixcrypt.exp
-rw-r--r-- 1 8036 system 13192 Jun 25 1996 alloca.c
-rw-r--r-- 1 8036 system 7721 Aug 17 1996 INSTALL.configure
-rw-r--r-- 1 8036 system 946 Sep 08 1999 sample.syslog.conf
-rw-r--r-- 1 8036 system 4730 Nov 05 1999 strcasecmp.c
-rw-r--r-- 1 8036 system 3586 Dec 14 2001 lsearch.c
-rw-r--r-- 1 8036 system 17743 Dec 14 2001 snprintf.c
-rwxr-xr-x 1 8036 system 3784 Jan 10 2002 install-sh
-rw-r--r-- 1 8036 system 4791 Jan 21 2002 PORTING
-rw-r--r-- 1 8036 system 3858 Apr 02 2003 README
-rwxr-xr-x 1 8036 system 1661 Apr 03 2003 mkinstalldirs
-rw-r--r-- 1 8036 system 4090 May 30 2003 fnmatch.3
-rw-r--r-- 1 8036 system 4049 Dec 31 2003 err.c
-rw-r--r-- 1 8036 system 180051 Jan 09 2004 ltmain.sh
-rw-r--r-- 1 8036 system 205826 Jan 09 2004 acsite.m4
-rw-r--r-- 1 8036 system 6524 Jan 29 2004 fnmatch.c
-rw-r--r-- 1 8036 system 2902 Feb 12 2004 sudoers2ldif
-rw-r--r-- 1 8036 system 1420 Feb 13 2004 strerror.c
-rw-r--r-- 1 8036 system 2781 Feb 13 2004 sigaction.c
-rw-r--r-- 1 8036 system 1572 Feb 13 2004 interfaces.h
-rw-r--r-- 1 8036 system 8684 Feb 13 2004 interfaces.c
-rw-r--r-- 1 8036 system 1693 Feb 13 2004 insults.h
-rw-r--r-- 1 8036 system 2036 Feb 13 2004 ins_goons.h
-rw-r--r-- 1 8036 system 1423 Feb 13 2004 ins_classic.h
-rw-r--r-- 1 8036 system 1414 Feb 13 2004 ins_2001.h
-rw-r--r-- 1 8036 system 2565 Feb 13 2004 defaults.h
-rw-r--r-- 1 8036 system 1264 Feb 13 2004 zero_bytes.c
-rw-r--r-- 1 8036 system 1710 Feb 14 2004 strlcpy.c
-rw-r--r-- 1 8036 system 1842 Feb 14 2004 strlcat.c
-rw-r--r-- 1 8036 system 14976 May 17 2004 logging.c
-rw-r--r-- 1 8036 system 10182 May 17 2004 parse.lex
-rw-r--r-- 1 8036 system 3997 May 17 2004 sample.sudoers
-rw-r--r-- 1 8036 system 1162 May 27 2004 BUGS
-rw-r--r-- 1 8036 system 13018 May 27 2004 set_perms.c
-rw-r--r-- 1 8036 system 3429 May 30 2004 UPGRADE
-rw-r--r-- 1 8036 system 5376 Jun 01 2004 alloc.c
-rw-r--r-- 1 8036 system 2657 Jun 01 2004 closefrom.c
-rw-r--r-- 1 8036 system 1491 Jun 03 2004 getprogname.c
-rw-r--r-- 1 8036 system 6730 Jun 06 2004 getcwd.c
-rw-r--r-- 1 8036 system 6350 Jun 06 2004 tgetpass.c
-rw-r--r-- 1 8036 system 1631 Jun 06 2004 logging.h
-rw-r--r-- 1 8036 system 608 Jun 06 2004 sudoers
-rw-r--r-- 1 8036 system 9920 Aug 02 2004 testsudoers.c
-rw-r--r-- 1 8036 system 1971 Aug 16 2004 HISTORY
-rw-r--r-- 1 8036 system 4073 Aug 24 2004 find_path.c
-rw-r--r-- 1 8036 system 2043 Aug 24 2004 goodpath.c
-rw-r--r-- 1 8036 system 3063 Aug 26 2004 pathnames.h.in
-rw-r--r-- 1 8036 system 15442 Sep 02 2004 README.LDAP
-rw-r--r-- 1 8036 system 1185 Sep 06 2004 sample.pam
-rw-r--r-- 1 8036 system 7195 Sep 06 2004 visudo.pod
-rw-r--r-- 1 8036 system 9698 Sep 07 2004 aclocal.m4
-rw-r--r-- 1 8036 system 1580 Sep 08 2004 gettime.c
-rw-r--r-- 1 8036 system 3010 Sep 08 2004 fileops.c
-rw-r--r-- 1 8036 system 6444 Sep 10 2004 compat.h
-rw-r--r-- 1 8036 system 1814 Sep 11 2004 utimes.c
-rw-r--r-- 1 8036 system 9549 Sep 14 2004 RUNSON
-rw-r--r-- 1 8036 system 1638 Sep 14 2004 ins_csops.h
-rw-r--r-- 1 8036 system 29482 Sep 14 2004 INSTALL
-rw-r--r-- 1 8036 system 77223 Nov 11 2004 lex.yy.c
-rw-r--r-- 1 8036 system 18930 Nov 11 2004 sudo.pod
-rw-r--r-- 1 8036 system 76277 Nov 25 2004 configure.in
-rw-r--r-- 1 8036 system 16789 Nov 25 2004 config.h.in
-rw-r--r-- 1 8036 system 9527 Nov 25 2004 sudo_edit.c
-rw-r--r-- 1 8036 system 17111 Nov 25 2004 visudo.c
-rw-r--r-- 1 8036 system 18042 Nov 26 2004 defaults.c
-rw-r--r-- 1 8036 system 4286 Nov 28 2004 def_data.in
-rw-r--r-- 1 8036 system 44838 Nov 28 2004 sudoers.pod
-rwxr-xr-x 1 8036 system 3850 Nov 29 2004 mkdefaults
-rw-r--r-- 1 8036 system 5827 Nov 29 2004 def_data.h
-rw-r--r-- 1 8036 system 5904 Nov 29 2004 def_data.c
-rw-r--r-- 1 8036 system 8556 Feb 05 2005 TROUBLESHOOTING
-rw-r--r-- 1 8036 system 2810 Feb 05 2005 LICENSE
-rw-r--r-- 1 8036 system 3314 Mar 12 2005 sudo_noexec.c
-rw-r--r-- 1 8036 system 7619 Mar 23 2005 sudo.h
-rw-r--r-- 1 8036 system 7021 Mar 23 2005 getspwuid.c
-rw-r--r-- 1 8036 system 14639 Mar 24 2005 check.c
-rw-r--r-- 1 8036 system 40146 May 31 2005 config.guess
-rwxr-xr-x 1 8036 system 29889 May 31 2005 config.sub
-rw-r--r-- 1 8036 system 29353 Jun 19 2005 parse.yacc
-rw-r--r-- 1 8036 system 2615 Jun 19 2005 parse.h
-rw-r--r-- 1 8036 system 13642 Jun 19 2005 parse.c
-rw-r--r-- 1 8036 system 683 Jun 19 2005 sudo.tab.h
-rw-r--r-- 1 8036 system 54757 Jun 19 2005 sudo.tab.c
-rw-r--r-- 1 8036 system 30904 Jun 19 2005 sudo.c
-rw-r--r-- 1 8036 system 24559 Jun 19 2005 ldap.c
-rwxr-xr-x 1 8036 system 960786 Oct 27 2005 configure
-rw-r--r-- 1 8036 system 5466 Oct 27 2005 TODO
-rw-r--r-- 1 8036 system 14205 Nov 08 2005 env.c
-rw-r--r-- 1 8036 system 14870 Nov 08 2005 Makefile.in
-rw-r--r-- 1 8036 system 1195 Nov 08 2005 version.h
-rw-r--r-- 1 8036 system 25969 Nov 08 2005 sudo.man.in
-rw-r--r-- 1 8036 system 57727 Nov 08 2005 sudoers.man.in
-rw-r--r-- 1 8036 system 12157 Nov 08 2005 visudo.man.in
-rw-r--r-- 1 8036 system 23303 Nov 08 2005 sudo.cat
-rw-r--r-- 1 8036 system 60958 Nov 08 2005 sudoers.cat
-rw-r--r-- 1 8036 system 8098 Nov 08 2005 visudo.cat
-rw-r--r-- 1 8036 system 67152 Nov 08 2005 CHANGES
drwxr-xr-x 2 8036 system 256 Mar 14 12:08 emul
drwxr-xr-x 2 8036 system 4096 Mar 14 12:08 auth
-rw-r--r-- 1 root system 8275 Mar 14 12:09 config.log
- Tia ..