Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51177 - kcmshell k3bsetup2 --lang en_US doesn't work with correct root password
Summary: kcmshell k3bsetup2 --lang en_US doesn't work with correct root password
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-15 20:30 UTC by Aaron Peterson
Modified: 2004-05-18 06:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Peterson 2004-05-15 20:30:24 UTC
Every kcontrol applet that needs root priviledges appears to be broken on my machanine... and I haven't done anything other than emerge stuff.



Reproducible: Always
Steps to Reproduce:
1.try to get into root mode of a kde program
2. says passwords wrong
3. try suing from a shell.. and it works




Sorry - KDE su

Incorrect password! Please try again.

bash-2.05b# emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.4.12
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X aac aalib accessibility acl acpi acpi4linux alsa amd apache2 apm
arts artswrappersuid audiofile avi berkdb bidi bonobo canna cdr cjk cjkcrypt
crypt cscope cups dga directfb divx4linux doc dv dvb dvd encode esd evms2 faad
fam fbcon ffmpeg flac flash foomaticdb freetype freewnn fs gdbm ggi gif gnome
gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib jack java javascript
joystick jpeg kde kerberos krb4 ldap libcss libdvdread libg++ libwww mad maildir
md5sum mdb mikmod mmx motif mozilla mpeg mpeg4 mule mysql nas ncurses net nls
nptl nvidia oggvorbis opengl oss pam pdflib perl pic png postgres python qt
quicktime readline samba sasl scanner sdl slang spell sse ssl svg svga tcltk
tcpd tetex theora threads tiff transcode truetype unicode usb v4l vhosts
virus-scan x86 xine xinerama xml2 xmms xv xvid zeo zlib"

bash-2.05b#
Comment 1 Aaron Peterson 2004-05-15 20:33:02 UTC
bash-2.05b# ls kcmshell -lah
-rwxr-xr-x  1 root root 4.3K Apr 20 07:33 kcmshell
bash-2.05b# pwd
/usr/kde/3.2/bin


Temporary fix:

chmod s+u /usr/kde/3.2/bin/kcmshell
Comment 2 Aaron Peterson 2004-05-15 20:34:38 UTC
dang it..

u+s

instead of s+u

and...

it didn't make it work!
so it's probably not a good idea to have kcmshell suidroot
Comment 3 Aaron Peterson 2004-05-15 20:39:29 UTC
sorry for so many posts..

i think there is a problem with ksu and being build with kerberos

this is GOOFY
I'm now looking for bugs at kde's website


bash-2.05b$ ksu
WARNING: Your password may be exposed if you enter it here and are logged
         in remotely using an unsecure (non-encrypted) channel.
Kerberos password for root@EXAMPLE.COM: :
ksu: Cannot resolve network address for KDC in requested realm while getting initial credentials
Authentication failed.
bash-2.05b$ ksu
WARNING: Your password may be exposed if you enter it here and are logged
         in remotely using an unsecure (non-encrypted) channel.
Kerberos password for root@EXAMPLE.COM: :
ksu: Cannot resolve network address for KDC in requested realm while getting initial credentials
Authentication failed.
bash-2.05b$ ksu
WARNING: Your password may be exposed if you enter it here and are logged
         in remotely using an unsecure (non-encrypted) channel.
Kerberos password for root@EXAMPLE.COM: :
ksu: Cannot resolve network address for KDC in requested realm while getting initial credentials
Authentication failed.
bash-2.05b$
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2004-05-16 15:10:46 UTC
ksu is not a kde program, it's a kerberos program ;)
kdesu is the program that is broken for you...
which version of kdelibs are you running? have you tried
reemerging it? for some time in the past the kdelibs 3.2.2 ebuild
produced a broken kdesu, but it is now fixed by
kde-base/kdelibs/files/kdelibs-3.2.2-su.cpp.diff
Comment 5 Aaron Peterson 2004-05-17 02:17:29 UTC
Your right, it works after recompililng... for 4 hours or so.. the kdelibs.


why wasn't the new kdelibs with the diff file marked kdelibs-3.2.2-r1 ?
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2004-05-18 06:59:51 UTC
At that time kdelibs had just entered ~x86 state, and was a heavy work in progress, I guess.