Administration screens gone..
Matthew Kuiken
matt.kuiken at verizon.net
Wed May 31 05:27:36 UTC 2006
Chanchao wrote:
> On Tue, 2006-05-30 at 21:40 -0700, Matthew Kuiken wrote:
>
>
>>> Secondly, it may have happened while adding another user with admin
>>> rights.. and ended up with nobody with sudo/admin rights! I managed to
>>> correct this by going into recovery mode and so a 'visudo' to update the
>>> sudoers file and adding my username as (ALL) ALL (same as root).
>>>
>>> So after that I can sudo again, but my admin screens are still gone.
>>> What can be my next step to fix this?
>>>
>
>
>> Is your user still a member of group admin?
>>
>
> I'm not sure.. I also lost the 'Users and Groups' screen so I can't
> really check. If I check the /etc/passwd file then the main group is
> the same as the username.
>
> I guess I should do a:
>
> sudo usermod <my_username> --groups admin --append
>
> ?
>
If you type 'groups' at a prompt, it'll tell you which groups your user
is a part of.
My default output:
$ groups
<username> adm dialout cdrom floppy audio dip video plugdev lpadmin
scanner admin windrvusers
sudo adduser <user> admin
should add the <user> to the admin group. For more info, man adduser.
-Matt
More information about the ubuntu-users
mailing list