[Tfug] login problem

Matthew Patenaude mnglfiddle at gmail.com
Thu Jul 10 11:31:55 MST 2008


Hey all!

I figured out one way to solve my problem. I went back to my original
sudoers file (Ubuntu), after having learned a good deal about how to use it,
but the easiest way to solve my problem was as follows:

Boot up with live CD; open terminal; sudo nautilus (obviously, just running
sudo gedit /etc/group would work just as well); open /etc/group in a text
editor; scroll down to admin; add a comma after 'root' and the user name you
wish to add. Voila!

I figured I would post the solution in case anyone needed it.

Matthew

On Wed, Jul 9, 2008 at 6:03 PM, Matthew Patenaude <mnglfiddle at gmail.com>
wrote:

> I only way I can get to the sudoers file is to boot up with a live CD and
> edit it. Failsafe mode is still only allowing me to run as the handicapped
> user.
>
> Whatever I have done so far, has not worked. I must be missing something.
> There are a lot of things on line about the sudoers file, but none have
> given me the info on what I need to add to it to make my user a member of
> the %admin group again. Please help me out here.
>
> Thanks,
> Matthew
>
> On Wed, Jul 9, 2008 at 1:15 PM, Paul Lemmons <paul at lemmons.name> wrote:
>
>>  -------- Original Message  --------
>> Subject: [Tfug] login problem
>> From: "Matthew Patenaude" <mnglfiddle at gmail.com> <mnglfiddle at gmail.com>
>> To: "Tucson Free Unix Group" <tfug at tfug.org> <tfug at tfug.org>
>> Date: 07/09/2008 11:08 AM
>>
>> Hey guys!
>>
>> I was trying to install VirtualBox, and it would let me install a guest
>> OS, claiming I didn't have permissions. In trying to change that, I goofed
>> up, and I noticed that when I would open a terminal and type sudo " "" , I
>> wasn't being asked for my password. I didn't want that, so I dug through
>> trying to change that back. Well, I unclicked a box and now my user name no
>> longer has sudo permissions, and so I can't administer my system.
>>
>> What would be my proper procedure for fixing this. I have to loging as
>> root, to get that back - I can't add/remove programs, and so forth, even -
>> but 'root' isn't available as a login option. What to do?
>>
>> Thanks,
>> Matthew
>>
>> ------------------------------
>>
>> _______________________________________________
>> Tucson Free Unix Group - tfug at tfug.org
>> Subscription Options:http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>>
>>  Have you tried booting into fail-safe mode and editing the sudoers file?
>>
>> --
>> Sometimes I wonder.  Were our faith able to stand upright and look around, would it be looking down at the mustard seed or standing in awe of the height and breadth of it.
>>
>>
>> _______________________________________________
>> Tucson Free Unix Group - tfug at tfug.org
>> Subscription Options:
>> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tfug.org/pipermail/tfug_tfug.org/attachments/20080710/28b98873/attachment-0002.html>


More information about the tfug mailing list