Re: su, context(selinux?) 2nd prompt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Daniel J Walsh wrote:


>>> On Mon, 23 Jan 2006, Rex Dieter wrote:
>>>
>>>     
>>>> With a recent update of CentOS4, su's behavior has changed, in that
>>>> after
>>>> prompting for password, also prompts for (selinux?) context.  I'm
>>>> seeing something like:
>>>> $ su
>>>> Password:
>>>> Your default context is root:system_r:unconfined_t.
>>>>
>>>> Do you want to choose a different one? [n]
>>>>
>>>>
>>>> kde's kdesu barfs on this second prompt.  Any way to disable this
>>>> second prompt?

> Remove multiple from the pam file.

editing /etc/pam.d/su, changing
session    required     /lib/security/$ISA/pam_selinux.so open multiple
to
session    required     /lib/security/$ISA/pam_selinux.so open

Did the trick, thanks Dan!

# rpm -q -f /etc/pam.d/su
coreutils-5.2.1-31.2

A bug in coreutils-5.2.1-31.2 then?

-- Rex


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux