From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S96BP-0005zj-L9 for garchives@archives.gentoo.org; Sun, 18 Mar 2012 02:49:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2997AE084A; Sun, 18 Mar 2012 02:49:03 +0000 (UTC) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181]) by pigeon.gentoo.org (Postfix) with ESMTP id C3CFDE07B9 for ; Sun, 18 Mar 2012 02:47:53 +0000 (UTC) Received: by yenq2 with SMTP id q2so6149332yen.40 for ; Sat, 17 Mar 2012 19:47:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=I56KJ5XbSL+eq234MCt8pVe/GutA7D21mTQn1uEqHH4=; b=MgV+OunRf95WiaRVcmaEX51/Qd+imR4jPGsrTRFLQ32QN3QR9zkpWobOoOG7Vt8fZh rFcRX5bJ1yXWPxA5iJqXLzHkf8hsI2paFtNO4tQuPKoJShjxjvMQASSdiJvj4QNuc1w4 o76/Ea3yrPSqG2asXIh6TM8UDKHpY2Jv1MHjBgkliePjx2keGhhcFcfbAcdIoNNA0uNm sVhCwZbfrw7kmvacGN95dF6gMuVsI9odoiWP4EuREzVAqFAqCL8sJhKAw4dvHZ5cfOhX FA2+wiNuHBJiiSdc16zkNPkJkjbanTfU1fmIA1ND9AcU5TVxtDoIkRoRVZQu0vRRR4ub dUNA== Received: by 10.236.161.103 with SMTP id v67mr7796404yhk.65.1332038873226; Sat, 17 Mar 2012 19:47:53 -0700 (PDT) Received: from [192.168.2.5] (adsl-98-95-214-242.jan.bellsouth.net. [98.95.214.242]) by mx.google.com with ESMTPS id l2sm11974159anb.11.2012.03.17.19.47.51 (version=SSLv3 cipher=OTHER); Sat, 17 Mar 2012 19:47:52 -0700 (PDT) Message-ID: <4F654CD6.5040309@gmail.com> Date: Sat, 17 Mar 2012 21:47:50 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120301 Firefox/10.0.1 SeaMonkey/2.7.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] KDE and permissions problems References: <4F64651E.6050803@gmail.com> <4F648D68.4040008@coolmail.se> In-Reply-To: <4F648D68.4040008@coolmail.se> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: d87464fb-9852-4b8e-b08c-51ed03cb1309 X-Archives-Hash: b9a72b44201c24555187a4306d85a8d4 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"