-CURRENT Bug in portupgrade with sudo

michael brindle kg6ymn at gmail.com
Sat Jan 16 01:21:19 UTC 2010


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


More information about the freebsd-current mailing list