Page 1 of 1

Installing Solaris 10 Companion software

Posted: Thu Sep 19, 2013 5:40 pm
by cah
1. Insert the CD to CDROM/DVD ROM

2. Create a file to automate all software packages installation

Code: Select all

cat >>/var/tmp/admin <<EOF
mail=
conflict=nocheck
setuid=nocheck
action=nocheck
partial=nocheck
instance=overwrite
idepend=nocheck
rdepend=nocheck
space=check
EOF
3. Change to software repository

SPARC:

Code: Select all

cd Solaris_Software_Companion/Solaris_sparc/Packages
x86:

Code: Select all

cd Solaris_Software_Companion/Solaris_i386/Packages
4. Add all packages

Code: Select all

pkgadd -a /var/tmp/admin -d `pwd`
Press CTRL+d to proceed

sudo package issue

Posted: Thu Sep 19, 2013 6:36 pm
by cah
After installing all packages from software companion dvd, sudo didn't seem to work properly.
It complained about /opt/sfw/libexec/sudoers.so not found.

I checked the size and timestamp of /opt/sfw/bin/sudo on appzone02:

Code: Select all

---x--x--x   1 root     root       62068 Oct 15  2011 sudo
However, jumpstart server has:

Code: Select all

---s--x--x   1 root     root      154804 Dec  7  2012 sudo
I had to manually move the binary from jumpstart server to appzone02.
I also have to change the set uid permission first:

Code: Select all

# chmod u+s /opt/sfw/bin/sudo
Also, I need to edit /opt/sfw/etc/sudoers file first to allow %sysadmin and %adm groups before sudo would work.

I am, however, still puzzled why jumpstart has a newer sudo binary than appzone02. Both should have the same software from Solaris 10 Update 10. I checked on bldint02 that was jumped late last year and it also has the newer version sudo binary.

I then checked on orazone01 that was installed almost 3 years ago and its sudo has:

Code: Select all

---s--x--x   1 root     root      154804 Aug 25  2009 /opt/sfw/bin/sudo
Even though the timestamp is older but the size is the same.
Something's wrong with the package installation today but not sure what and why.
The same software..........

Hope I can solve this mystery.