LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-19-2009, 08:49 PM   #1
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Rep: Reputation: 31
authorization failure trying to access system configuration


tried to access system-->administration-->services and get a message box that says
Quote:
The configuration could not be loaded
You are not allowed to access the system configuration.
This did work; now it does not. This also fails if I switch to a console (ctl-alt f6), log in as root and switch back to desktop (ctl-alt-f7)

BACKGROUND:
I did have a problem about a month ago; I tried to add a user using
system-->administration-->users and groups; this failed and replaced the "real" /etc/group file with an empty one except for one noname entry I got that fixed using the /etc/group that was stored in /home/.Trash-0

Does anyone have any Idea how I can get back authorization to the system configuration?

(This was on my Debian-lenny system)

Last edited by garyg007; 12-19-2009 at 08:51 PM. Reason: added info
 
Old 12-20-2009, 09:31 AM   #2
dreamwalking
Member
 
Registered: Dec 2005
Distribution: Slackware 14
Posts: 106

Rep: Reputation: 31
Uhm, you are using Gnome? What services are you trying to access? What happens if you do directly to a terminal, su and type the command of the administrative task you want to perform?

In a thread in Ubuntu forum, someone said they solved the problem by updating the system-tools-backends package (http://ubuntuforums.org/showthread.php?t=421881&page=3).

You can try and restore your groups with groupadd, addgroup, etc (http://www.debianadmin.com/users-and...-in-linux.html)
 
Old 12-20-2009, 11:16 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
I think your groups are probably in a mess.

If it helps, the administrative user for kubuntu 8.04 belongs to the following groups:
Code:
myusername adm dialout fax cdrom floppy audio video plugdev syslog scanner fuse lpadmin admin netdev sambashare
If you add yourself to these groups, logout and back in again for the changes to take effect, things might work better for you.

Quote:
This also fails if I switch to a console (ctl-alt f6), log in as root and switch back to desktop (ctl-alt-f7)
This won't help you. You may be root at the terminal on (ctl-alt f6) but you are still your usual self on (ctl-alt f7).

You'll need to login as root on (ctl-alt f6) see what groups you are currently in:
Code:
groups yourusername
and then add your username to the right groups:
Code:
usermod  -aG  groups,to,be,added  yourusername
then relogin to the GUI as yourself (now with a full set of group permissions)
 
1 members found this post helpful.
Old 12-21-2009, 10:53 AM   #4
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Thanks for the info, tredegar;

I can't get power to the debian machine at the moment; as soon as I get that sorted out, I'll report what happened with the examination of /etc/groups

Gary
 
Old 12-29-2009, 11:06 AM   #5
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Sorry for the delay getting back about this.

I checked /etc/group --- all of the entries you suggested, are already there, so that is not the problem. Any other Ideas ?

Edited Data: "groups MyName" shows that I am missing from syslog, and admin

Gary

Last edited by garyg007; 12-29-2009 at 11:39 AM.
 
Old 12-29-2009, 11:45 AM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Edited Data: "groups MyName" shows that I am missing from syslog, and admin
So I expect you have it fixed by now. Yes?
 
Old 12-30-2009, 10:35 AM   #7
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Hello, tredegar;
No, unfortunately, that did not fix it.

next step is to see if I can extract /etc/group from and old backup I have and compare the two files.

Gary
 
Old 12-30-2009, 10:42 AM   #8
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
No, unfortunately, that did not fix it.
But you are not telling us what "that" is

I was hoping you would say something like "I did usermod -aG syslog,admin garyg (as root), then completely logged myself out and back in again and ...."
 
Old 12-31-2009, 10:14 AM   #9
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Sorry, I sometimes assume too much.

Quote:
THAT
Was a reference to the suggestions made in your first post

Gary
 
Old 12-31-2009, 10:27 AM   #10
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
OK.

No error messages?

Please post (copy & paste) the output of
Code:
groups yourusername
 
Old 01-01-2010, 09:12 PM   #11
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279

Original Poster
Blog Entries: 1

Rep: Reputation: 31
No messages other than what I referred to in my first post;

Unfortunately, it never dawned on me to check the console log (i'm not even sure where it is in debian linux)

The power supply in my debian pc failed (with healthy stink) so it will be a few days until I can get it fixed and can provide the requested cut-n-paste

gary
 
Old 01-02-2010, 06:25 PM   #12
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279

Original Poster
Blog Entries: 1

Rep: Reputation: 31
here is cut-n-paste requested
Code:
Debian:/home/gary# whoami
root
Debian:/home/gary# groups gary
nogroup root sys adm lp dialout fax cdrom floppy tape sudo audio dip video plugdev users usb scanner netdev lpadmin powerdev gary fuse vboxusers admin syslog
Debian:/home/gary# groups root
nogroup
Debian:/home/gary#
 
Old 01-03-2010, 03:51 AM   #13
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Thanks.

Your groups are still in a mess:
gary should not be a member of the groups root sudo or nogroup
root should not be a member of nogroup (but it probably doesn't matter)
root should be a member of just one group: root

I am surprised your system is running at all.

You'll probably have to boot from a live CD, mount your linux partition and edit /etc/group to fix it up, then unmount your linux partition, and reboot
 
1 members found this post helpful.
Old 01-06-2010, 02:03 PM   #14
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Thanks for the info; Made the changes indicated, but I still cannot access
The system configuration; neither as user nor as root
here is another cut-n-past
Code:
Debian:/home/gary# groups gary
nogroup sys adm lp dialout fax cdrom floppy tape audio dip video plugdev users usb scanner netdev lpadmin powerdev gary fuse vboxusers admin syslog
Debian:/home/gary#
It still shows me as a member of "nogroup" -- but /etc/group DOES NOT
Hmmmmm ???

Gary

possible I edited /etc/group wrong; It was edited using command from root terminal:"gedit /etc/group"

Last edited by garyg007; 01-06-2010 at 02:06 PM.
 
Old 01-07-2010, 12:01 PM   #15
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
It still shows me as a member of "nogroup" -- but /etc/group DOES NOT
Maybe something is badly broken.
Editing /etc/group by hand without a backup is probably a bad idea, using the groups and newgrp commands is a better idea, because those group numbers in /etc/group are what really matter, and it's easy to mistype a number.
You could do a clean install to a spare partition, and take a copy of the new /etc/groups file

Back in your first post you said
Quote:
I got that fixed using the /etc/group that was stored in /home/.Trash-0
How did that ( group end up in /home/.Trash-0 ) happen? Only root should be allowed to delete /etc/group, and if root deleted it, it would just be deleted, not moved to /home/.Trash-0

Otherwise I'm fresh out of ideas. Sorry.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Authorization problem with LogMeIn - SSL configuration? Johncc330 Linux - Networking 2 12-09-2009 11:26 PM
Authorization problem with LogMeIn - SSL configuration? Johncc330 Slackware 6 11-11-2009 03:24 PM
GNOME - unable to access system configuration neilcpp MEPIS 3 01-14-2009 01:17 PM
Authorization Failure When Doing Fetchmail grumpywhites Linux - Newbie 1 03-06-2008 01:32 AM
[access] continuous authorization required wuck LQ Suggestions & Feedback 2 09-26-2003 04:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration