Bug 34209 - doesn't correct paths for root use
Summary: doesn't correct paths for root use
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kdelibs
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2001-03-31 08:58 UTC by Chris Ricker
Modified: 2008-05-01 15:38 UTC (History)
0 users

Clone Of:
Last Closed: 2001-04-03 08:48:05 UTC

Attachments (Terms of Use)

Description Chris Ricker 2001-03-31 08:58:53 UTC
I'm running qa0328

Some of the control center apps require root privilege, and nicely offer to
su to root for you when you try to run them.  However, they don't update
the path to reflect the path needed for root, and this sometimes breaks the

For example, under System there's a Boot Manager tool which edits the Lilo
config.  As an ordinary user, I don't have /sbin in my path.  When I try to
run Boot Manager, it prompts me for the root password and then launches
Boot Manager as root.  However, it uses my non-privileged user path when
doing so, so it runs without having /sbin in its path.  Consequently, it
can't find /sbin/lilo and so it fails to work (and reports a cryptic error
about invalid configuration).

All the su to root KDE apps should make sure that they define an
environmental PATH which includes /sbin and /usr/sbin if they're not
already there to avoid these sorts of issues.

Comment 1 Bernhard Rosenkraenzer 2001-04-03 08:48:01 UTC

Comment 2 Bernhard Rosenkraenzer 2001-04-04 09:45:16 UTC
Fixed in kdelibs-2.1.1-5

Note You need to log in before you can comment on or make changes to this bug.