| Summary: | tdesu does not set $TDEHOME to /root/.trinity | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Darrell <darrella> |
| Component: | tdebase | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | NEW --- | ||
| Severity: | normal | CC: | bugwatch, darrella |
| Priority: | P5 | ||
| Version: | R14.0.x [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | 853 | ||
| Bug Blocks: | 2968 | ||
I tested this in 3.5.10, 3.5.13.0, pre R14, and KDE4. The coded behavior is to use 'su' rather than 'su -'. As this has been the standard behavior going back to KDE 3.5 and persists today as standard with KDE4, I presume this is accepted and expected behavior. That said, I think tdesu should default to using 'su -'. Rather than force anything on anybody, one approach is to add a new tdesu option in tdebase/tdesu/tdesu/tdesu.cpp. Something like: { "login", I18N_NOOP("Create an environment as the user would expect when logging in directly."), 0 },