-CURRENT Bug in portupgrade with sudo

From: michael brindle <kg6ymn_at_gmail.com>
Date: Fri, 15 Jan 2010 17:21:16 -0800
Hello.
So, apparently, when one attempts to use portupgrade from a normal user
shell, by way of sudo, portupgrade will remove the user from the
/usr/local/etc/sudoers file.
Also, the user is unable to use the su utility to become root to add
themselves back into the /usr/local/etc/sudoers file.
Also, this may also be a bug in X, because I rarely run command-line only,
next time I upgrade my ports, I will remember to drop into command-line only
first.
for example:
> sudo portupgrade -af
Password:
(in another terminal)
> sudo vi
Password:
<user> is not in the sudoers file.  This incident will be reported.
>

-- 
Michael Brindle
Received on Sat Jan 16 2010 - 00:21:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC