Why is sudo being removed from base? It is pretty useful. I imagine many use sudo
Thanks Hrishi On Saturday 4 July 2015, Steven McDonald <ste...@steven-mcdonald.id.au> wrote: > Hi, > > Here's a patch for current.html telling users how to handle the sudo > removal from base. > > Index: faq/current.html > =================================================================== > RCS file: /cvs/www/faq/current.html,v > retrieving revision 1.614 > diff -u -p -r1.614 current.html > --- faq/current.html 2 Jul 2015 05:49:04 -0000 1.614 > +++ faq/current.html 4 Jul 2015 03:35:43 -0000 > @@ -41,6 +41,7 @@ > <li><a href="#20150601">2015/06/01 - alpha switches to > <i>secureplt</i></a> > <li><a href="#20150602">2015/06/02 - sparc switches to PIE</a> > <li><a href="#20150605">2015/06/05 - [ports] default PHP version switched > to 5.6</a> > +<li><a href="#20150703">2015/07/03 - sudo has moved to ports</a> > </ul> > > <hr> > @@ -250,6 +251,27 @@ to allow client connections to function. > # mkdir -p /var/www/etc/ssl > # cp /etc/ssl/cert.pem /var/www/etc/ssl/ > </pre> > + > +<h3 id="20150703">2015/07/03 - sudo has moved to ports</h3> > + > +sudo(8) has been removed from the base OS. > +The old binaries and manual pages should be removed: > +<pre> > + rm -f /usr/bin/sudo /usr/bin/sudoedit /usr/sbin/visudo > + rm -f /usr/share/man/man8/sudo.8 /usr/share/man/man8/sudoedit.8 > + rm -f /usr/share/man/man8/visudo.8 /usr/share/man/man5/sudoers.5 > +</pre> > +If you would like to continue using sudo(8), install it from packages: > +<pre> > + pkg_add sudo > +</pre> > +Otherwise, remove its configuration as well: > +<pre> > + rm -f /etc/sudoers > +</pre> > +<b>Caution</b>: If you rely on sudo as your primary means of gaining > +root privileges, you should install and test it from packages (taking > +care to test using /usr/local/bin/sudo) before removing the old binary. > > <p> > <hr> > >