C-compiler for SUDO

mackay at kodak.com mackay at kodak.com
Fri Jan 5 08:29:44 EST 2001


From: Scott D. MacKay

Which source did you get it from?
I am guessing that if the readme said 'make install', it is not in pkgadd
format....

'make' is a standard compiler utility.  It uses a file called 'Makefile' or
'makefile'.  Normally it is used during a compile to determine what files
depend on what, how to compile, and components of a compile, among many
other features.
The compiled SUDO uses the makefile to perform file copies and permission
settings, much like you would a shell script.  Why did they use a makefile
instead of just a simple script?  I am sure it is because the makefile
already exists for the regular source code distribution.  Code reuse,
wohoo!

I assume you already read the INSTALL, where it says you can alter where
material gets installed to.  By default, it is /usr/local.  I don't know if
it says, but do NOT change sysconfdir (/etc).  SUDO hard codes this during
compile time.  Since you are using a compiled version, you do not get the
luxury of choosing an alternate path.
Enough rambling.  Why didn't your 'make install' work?  Probably because
the 'make' command is not in your path.  'make' is located in /usr/ccs/bin,
so the line you should run is:

/usr/ccs/bin/make install

Hope it helps!!
Scott MacKay







"Masuta, Paul" <PMasuta at fnb.co.za> on 01/05/2001 03:22:38 AM

To:   "'mackay at kodak.com'" <mackay at kodak.com>, "'sudo-users at courtesan.com'"
      <sudo-users at courtesan.com>
cc:    (bcc: Scott D. MacKay/943904/EKC)
Subject:  RE: C-compiler for SUDO







Hi,

I have downloaded the complied sudo version and I am now trying to install
it. The readme note mentions "make install". I cant seem to find this or am
I barking up the wrong tree.

Thanx again.



Paul Masuta

-----Original Message-----
From: mackay at kodak.com [mailto:mackay at kodak.com]
Sent: 18 December 2000 16:50
To: Masuta, Paul
Subject: RE: C-compiler for SUDO




From: Scott D. MacKay

I would suggest one of 2 places.
First, you could use the author's site at:
http://www.courtesan.com/sudo/
There is a "Getting SUDO/Via The Web" link on the left.  The RGE site has
pre-compiled binaries at:
http://www.rge.com/pub/admin/sudo/binaries/
You would select the binaries for your operating systems.  You will need
'gunzip' of course.  It is distributed in normal TAR format.

Another great site is www.sunfreeware.com.  You can select your Solaris
version on the right hand side.  The great thing about this
site is that their software is distributed via 'pkgadd' which makes for a
really easy installation.

-Scott






"Masuta, Paul" <PMasuta at fnb.co.za> on 12/18/2000 09:22:36 AM

To:   "'mackay at kodak.com'" <mackay at kodak.com>
cc:    (bcc: Scott D. MacKay/943904/EKC)
Subject:  RE: C-compiler for SUDO







Thank you very much for your prompt response. We have platforms running
Solaris 7 and 6.

Thanx again.


Paul Masuta

-----Original Message-----
From: mackay at kodak.com [mailto:mackay at kodak.com]
Sent: 18 December 2000 15:56
To: Masuta, Paul
Subject: Re: C-compiler for SUDO




From: Scott D. MacKay

The main reason for the 'C' compiler is because it is most commonly shipped
in source code.  Most admins prefer this method so they can compile in
special options and also to review the source code since it is such a
security-enabling tool.  If you were to list your operating systems, people
may be able to provide you with web sites where the application is
pre-compiled.  This would allow you to just download the application and
use it.

Scott MacKay





"Masuta, Paul" <PMasuta at fnb.co.za> on 12/18/2000 05:22:12 AM

To:   "'sudo-users at courtesan.com'" <sudo-users at courtesan.com>
cc:    (bcc: Scott D. MacKay/943904/EKC)
Subject:  C-compiler for SUDO







I understans one of the prerequisites of sudo is the c-compiler. I dont
have
the compiler , is there any work around for people like me.

Thank you.

Paul Masuta
First National Bank
Tel + 11 27 889-5194
Fax + 11 27 889-4355

____________________________________________________________
sudo-users mailing list <sudo-users at courtesan.com>
For list information, options, or to unsubscribe, visit:
http://www.courtesan.com/mailman/listinfo/sudo-users
















More information about the sudo-users mailing list