Skip to content

Commit

Permalink
Sudo path changed
Browse files Browse the repository at this point in the history
  • Loading branch information
scotthain committed Feb 3, 2016
1 parent 80be092 commit 5aee817
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions floppy/solaris10/S99startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ echo "mail=\ninstance=overwrite\npartial=nocheck\nrunlevel=nocheck\nidepend=noch

# install sudo so that packer functions correctly
# NOTE - LOOK HERE FIRST IF THE URL CHANGES!
/usr/sfw/bin/wget http://www.sudo.ws/sudo/dist/packages/Solaris/10/TCMsudo-1.8.13-i386.pkg.gz
gunzip TCMsudo-1.8.13-i386.pkg.gz
pkgadd -a /tmp/noask -d TCMsudo-1.8.13-i386.pkg all
/usr/sfw/bin/wget http://www.sudo.ws/sudo/dist/packages/Solaris/10/TCMsudo-1.8.15-i386.pkg.gz
gunzip TCMsudo-1.8.15-i386.pkg.gz
pkgadd -a /tmp/noask -d TCMsudo-1.8.15-i386.pkg all
echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
echo "Defaults secure_path=/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/bin:/sbin" >> /etc/sudoers

Expand All @@ -51,6 +51,6 @@ echo "sudo Installed" >> /tmp/s99log
svcadm enable network/ssh

# delete ourself!
rm /etc/rc2.d/S99startup.sh
# rm /etc/rc2.d/S99startup.sh

echo "Successfully Finished" >> /tmp/s99log

0 comments on commit 5aee817

Please sign in to comment.