(username) is not in the sudoers file.
James Mcphee
jmcphe at gmail.com
Tue Jun 19 13:51:15 MST 2012
visudo has the advantage of doing a sudo check on the editted file before
overwriting the existing one, so if you typo it, you didn't just completely
bork yourself. In practice, I find myself sed'ing /etc/sudoers a lot,
which wouldn't have this protection. Be sure to crush cache if you choose
to edit the files without visudo.
On Tue, Jun 19, 2012 at 8:17 AM, Dazed_75 <lthielster at gmail.com> wrote:
> Actually, I believe you need to use visudo as root to edit that file.
> Also, if you are still running Knoppix, you probably have an actual root
> you can log into though I could be wrong on that as I have not used Knoppix
> in years.
>
>
> On Mon, Jun 18, 2012 at 6:51 PM, Stephen <cryptworks at gmail.com> wrote:
>
>> What he said :-)
>> On Jun 18, 2012 6:16 PM, "JD Austin" <jd at twingeckos.com> wrote:
>>
>>> That would work.
>>> Alternately add yourself to the wheel group and uncomment that line in
>>> the /etc/sudoers file.
>>>
>>>
>>> On Mon, Jun 18, 2012 at 5:45 PM, <joe at actionline.com> wrote:
>>>
>>>> When I tried to use sudo, I saw this message:
>>>>
>>>> (username) is not in the sudoers file
>>>>
>>>> Searching the 'net for a solution, I found that perhaps I can just
>>>> edit /etc/sudoer to add this line:
>>>>
>>>> joe ALL=(ALL) ALL
>>>>
>>>> to get sudo to work. Is that correct or ill advised?
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>>>
>>>
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>
>
>
> --
> Dazed_75 a.k.a. Larry
>
> Please protect my address like I protect yours. When sending messages to
> multiple recipients, always use the BCC: (Blind carbon copy) and not To: or
> CC:. Remove all addresses from the message body before sending a Forwarded
> message. This can prevent spy programs capturing addresses from the
> recipient list and message body.
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
--
James McPhee
jmcphe at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20120619/1910562b/attachment.html>
More information about the PLUG-discuss
mailing list