Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2010 17:21:16 -0800
From:      michael brindle <kg6ymn@gmail.com>
To:        current@freebsd.org
Subject:   -CURRENT Bug in portupgrade with sudo
Message-ID:  <ca14fd311001151721w239ef398s463ffdb8fe9a9294@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ca14fd311001151721w239ef398s463ffdb8fe9a9294>