[svlug] Authentication Problem
Scott Chau
scottchau at gmail.com
Wed May 21 22:45:36 PDT 2008
Just wanted to say thanks James.. that was exactly my problem and I even
learn to use Vi for the first time. =)
On Wed, May 14, 2008 at 8:14 PM, James Sparenberg <james at linuxrebel.org>
wrote:
> On Tuesday 13 May 2008 11:26:51 pm Scott Chau wrote:
> > So wouldn't you know it... After setting up my ubuntu 8.10 the way I
> like
> > it, I decided to mess it up =) So basically I had a MDF file that I
> wanted
> > to mounted so I could copy some files out. Decided to download fuseiso
> > because when I did a search, this application was recommended. Anyways
> had
> > some problems with not being able to view the files after mounting
> because
> > of some permission restriction. Decided do some more searching and I
> > remember using some command involving "sudo usermod -Gfuse `whoami`" and
> > something about superuser. Yeah I know I should probably try and
> > understand some of these command before just running the command. Long
> > story short, I wipe my permission or something cause my account was not
> in
> > the etc/sudoers list. I had to manually edit the file and put my
> username
> > back in but when I go to some administration setting, I can't unlock them
> > to change the setting. i.e. In "Users Settings" I if I try to unlock
> it,
> > it will give me the error "Could not authenticate"
> >
> > So my dilemma is should I just format and reinstall? I really don't mind
> > actually but I want to also learn from my mistakes =) Is there some
> command
> > that I can use to reset the permission to it's default? Thanks
>
> Your user isn't in /etc/sudoers. your user is in the admin group,
> (controlled by /etc/group), then the admin group is in sudoers as allowed
> to
> sudo.
>
> become root however you can and then run vigr (vi group) put you username
> back
> into the admin group (for example)
> <snip>
> adm:x:4:[username]
> </snip>
> otherwise, when the gui tools try to sudo they can't, or rather won't,
> because
> you are in the wrong group.
>
> James
>
>
> _______________________________________________
> svlug mailing list
> svlug at lists.svlug.org
> http://lists.svlug.org/lists/listinfo/svlug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.svlug.org/archives/svlug/attachments/20080521/fcb8de05/attachment.htm
More information about the svlug
mailing list