public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] KDE and permissions problems
Date: Sat, 17 Mar 2012 21:47:50 -0500	[thread overview]
Message-ID: <4F654CD6.5040309@gmail.com> (raw)
In-Reply-To: <4F648D68.4040008@coolmail.se>

pk wrote:
> On 2012-03-17 11:19, Dale wrote:
> 
>> The program 'su' could not be found.
>> Ensure your PATH is set correctly.
> 
> What does 'echo $PATH' give you? /bin should be in your path (that's
> where 'su' is located, or should be)... My $PATH looks like this:
> /usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/usr/games/bin


I went to a console, the only place I can log in, and I got nothing for
my paths.  It is empty.


> 
> I don't know if this is the case but maybe, you're using some of the
> new-fangled screw up'ed tools like, dracut, systemd etc. that wants to
> move everything into /usr (on the same partition as /) and as such
> changes your $PATH accordingly (without checking perhaps - which would
> be consistent with the arrogance of the coders).
> 
>> -rws--x--x  1 root root   36680 Mar 16 23:36 su
>> -rws--x--x  1 root root   52416 Mar 16 23:19 umount
>> -rws--x--x  1 root root   42592 Mar 16 23:36 passwd
> 
> The 's' part is for the SetUID bit which gives the root-owned command in
> question root privileges, in order to switch user... See:
> http://blog.superuser.com/2011/04/22/linux-permissions-demystified/

I am using the dracut thingy to boot with.  I hope that thingy has not
screwed up my system.  :-@


> 
> (esp. the "Getting sticky!" chapter).
> 
> That's not all though...:
> 
>> it, then what?  I am in the wheel group.  I'm also in the tty group.
> 
> Check your /etc/pam.d/su file... it should contain (at least) this line:
> auth       required     pam_wheel.so use_uid
> 
> That's what gives you permission to use 'su' as a member of the 'wheel'
> group ('su' is controlled by 'pam').
> 
> Best regards
> 
> Peter K
> 
> 

I do have that line in there.  There are a few others too so I guess it
is normal.

I'm going to check out that linky.

Dale

:-)  :-)


-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"



  reply	other threads:[~2012-03-18  2:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-17 10:19 [gentoo-user] KDE and permissions problems Dale
2012-03-17 13:11 ` pk
2012-03-18  2:47   ` Dale [this message]
2012-03-18  8:24     ` Dale
2012-03-18  3:11   ` Bruce Hill, Jr.
2012-03-18 10:22     ` pk
2012-03-18 12:56       ` Bruce Hill, Jr.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F654CD6.5040309@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox