Re: after defining new group, lost administration privileges and /etc/group has been changed



On 03/02/2009 06:03 PM, Alan E. Davis wrote:
Today I have been experimenting with permissions and groups between two
systems to make it easier to share files on a USB drive between the two
systems.

I defined a new group using the System -> Administration -> Users and Groups
facility. I noticed that, unlike my other system, no default group number
was suggested. So I defined the new group with group id number 1111, which
I reasons is high enough to not run afould of anything.

I logged out and back in.

When I click on System -> Administration -> Users and Groups, I am not
longer allowed to access the tool. The error message says I do nave
permission to do so. (I no longer remember the error message, because I
have altered the permissions and groups resulting in a different message now
being shown: "The configuration could not be loaded. You are not allowed to
access the system configuration."

Do you have a backup /etc/groups file? Check your /etc:

$ cd /etc
$ ls gr*


I had to add an admin group, but that didn't help, even adding my user name
as a member. I altered the sudoers file.

How did you alter it?

# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.

https://help.ubuntu.com/community/Sudoers


The groups in /etc/group do not have any other users assigned to any groups
than those I assigned to the new group (1111) I made. Admin is no longer a
group!
I have attached the new /etc/group file.

Thank you for any suggestions. I would also appreciate your ideas of whom
to ask, or which group.

Try the same method as with a lost password:
https://help.ubuntu.com/community/LostPassword
and then modify as root
https://help.ubuntu.com/8.04/serverguide/C/user-management.html




--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Web.config issue
    ... They there, I have a program that works fine when I run it in the IDE, ... however when I go to deploy it in the www root,, to make it a website I ... An error occurred during the processing of a configuration ... Parser Error Message: It is an error to use a section registered as ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Possibly corrupt IIS application config for virtual directory?
    ... directory as its root. ... Jon ... > I'm getting this error message while trying to convert an ASP Classic ... An error occurred during the processing of a configuration ...
    (microsoft.public.dotnet.framework.aspnet)
  • after defining new group, lost administration privileges and /etc/group has been changed
    ... Today I have been experimenting with permissions and groups between two ... (I no longer remember the error message, ... "The configuration could not be loaded. ... I had to add an admin group, but that didn't help, even adding my user name ...
    (Ubuntu)
  • RE: web.config file problem
    ... "Parser Error Message: Unrecognized configuration section ... Microsoft MSDN Online Support Lead ... Source Error: ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: web.config file problem
    ... "Parser Error Message: Unrecognized configuration section ... Microsoft MSDN Online Support Lead ... Source Error: ...
    (microsoft.public.dotnet.framework.aspnet)