[COLUG] Permissions Problem
Angelo McComis
740 at sciotoreserve.org
Fri Mar 28 05:32:56 EST 2008
Stephen,
Did you have any luck performing uid/gid/suid/sgid surgery on the /usr tree or was it simply a faster fix to wipe and reinstall?
-Angelo
-----Original Message-----
From: "Stephen P. Molnar" <s.molnar at sbcglobal.net>
Date: Sun, 23 Mar 2008 15:00:23
To:Central OH Linux User Group <colug432 at colug.net>
Subject: Re: [COLUG] Permissions Problem
On Sunday March 23, 2008 1:09:18 pm Brian Miller wrote:
> On Sun, 2008-03-23 at 09:52 -0400, Stephen P. Molnar wrote:
> > OpenSUSE 10.3/KDE 3.5.7 new installation
> >
> > Made a real mess this time. I was attempting to change permissions on
> > /usr for root/root to root/users which didn't work out so I changed the
> > /usr tree back to root/root
> >
> > Now, as a user, when I attempt to open a root mode Krusader I get and
> > error message: 'Su returned with an error.' The same thing happens when
> > I attempt to open yast2 as root.
> >
> > Assistance will be much appreciated.
>
> So what commands did you run to first change to root:user, and what did
> you use to change it back to root:root?
>
> If you open a konsole window and try to run krusader and su from a
> command line, what error do you get? Also, what do "ls -l krusader" and
> "ls -l su" show?
>
> Changing the group membership of most programs under /usr should not
> affect how they run, but changing execute and/or suid/sgid permissions
> would affect them.
>
> Also, from the file /etc/permissions:
>
> `chkstat -set /etc/permissions` or `chkstat
> -set /etc/permissions.easy`.
>
> These commands will set file permissions and modes to some sane
> settings, which should allow your other programs to work.
>
> You can read the rest of the text in /etc/permissions to get a better
> idea of what these files and the chkstat program do.
>
>
>
> _______________________________________________
> colug432 mailing list colug432 at colug.net
> http://www.colug.net/mailman/listinfo/colug432
Thanks for the reply. Actually I can run krusader with an icon as a user.
It's when I attempt to open a root mode copy of krusader, either in krusader
or from the K menu that I get the error.
The only way that I seem to be able to open a root mode copy is if I first
open a root shell then use krusader &.
If I attempt to open krusader with a run command (alt-F2) Run as a different
user I get an incorrect password message from KDesktop.
If I open a konsole window as a user, su runs just fine and dumps me into root
after I input the password.
Also, pe your suggesion, I ge the following:
computation at abnormal:~> ls -l krusader
ls: cannot access krusader: No such file or directory
[1]+ Done krusader
computation at abnormal:~> ls -l su
ls: cannot access su: No such file or directory
computation at abnormal:~>
I changed the /usr tree permissions by using Properties/Permissions tab in a
root mode krusader. Changing the permissions back to root/root using the
same method did not solve the problem.
_______________________________________________
colug432 mailing list colug432 at colug.net
http://www.colug.net/mailman/listinfo/colug432
More information about the colug432
mailing list